By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,364 Members | 1,278 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,364 IT Pros & Developers. It's quick & easy.

C++ .NET basic questions

P: n/a
If there is a site someone can point me to that answers such basic
questions, rather than taking up support's time posting answers, please let
me know.

I've developed C# .NET, unmanaged C++, and MFC applications. I have not
written any C++.NET apps yet and have some very basic questions.

Are managed C++ programs fully independent executables or are they still
processed at run time like C# and vb.net apps are? Is the finished product
MSIL?

Do C++.NET apps have the same performance as a standard C++ app.

Are managed C++ apps as susceptible to decompiling as C# and vb.net?

Thanks in advance,
jim
Nov 17 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
"Jim H" <ji**@nospam.nospam> wrote in message
news:uK**************@TK2MSFTNGP12.phx.gbl...
Are managed C++ programs fully independent executables or are they still
processed at run time like C# and vb.net apps are? Is the finished
product MSIL?
Well, your question answers itself. :-) "Managed C++" programs compile to
MSIL by definition.

The thing about the C++ compiler in the VS.Net package is that it is capable
of generating .obj files that get linked to PE formatted executables and
DLLs as VC++ v6 _OR_ it can just as well compile a dialect of C++ to MSIL.
Unlike the other compilers in VS.Net, MC++ is capable of interleaving
managed and native sections in the same module. This capability is why the
language is so well suited to interoperability tasks.
Do C++.NET apps have the same performance as a standard C++ app.
There is _no_ easy answer to such a question. The only answer that is valid
in all cases is the very unsatisfying "it depends". :-)
Are managed C++ apps as susceptible to decompiling as C# and vb.net?


Yes.

Regards,
Will
Nov 17 '05 #2

P: n/a
Hi Jim,

Additionally to William's answer, if you discussed about the pure managed
C++ application(not the mixed managed/unmanaged code app), I think you can
take it as a .NET assembly directly, just as your C# program. Please take a
look at our MSDN doc for more information about managed C++ programming:

Managed Extensions for C++ Programming
http://msdn.microsoft.com/library/de...us/vcmxspec/ht
ml/vcManExMigrationGuidePart1_Start.asp
Thank!

Best regards,

Gary Chang
Microsoft Community Support
--------------------
Get Secure! C www.microsoft.com/security
Register to Access MSDN Managed Newsgroups!
http://support.microsoft.com/default...sdn/nospam.asp
&SD=msdn

This posting is provided "AS IS" with no warranties, and confers no rights.

Nov 17 '05 #3

P: n/a
I usaly find that the best info sorce is the VC++ Index itself. Other than
that MSDN (part of Microsoft I think) is very good at explaining librarys
that come whith the program. You can find them with a simple search from
the microsoft web site.

--
Message posted via http://www.dotnetmonster.com
Nov 17 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.