473,395 Members | 1,418 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

C++ .NET basic questions

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
3 1653
"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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: AK | last post by:
I don't want any part of the previous discussion on Visual Basic versus Visual Basic.Net. My query is about using Visual Basic for Applications; and whether it is better to use Visual Basic 6 or...
8
by: Orange Free | last post by:
I want to create a program that will ask a user a series of questions and then generate a Microsoft Word document whose content is dictated by the answers. I am not a professional programmer, and...
7
by: Michael Foord | last post by:
#!/usr/bin/python -u # 15-09-04 # v1.0.0 # auth_example.py # A simple script manually demonstrating basic authentication. # Copyright Michael Foord # Free to use, modify and relicense. #...
2
by: Steven O. | last post by:
First, this may not be the correct newsgroup. I have some relatively basic questions on SQL. I tried to find a newsgroup that was specifically just about SQL, and was surprised to find that all...
4
by: Ramesh | last post by:
hi, Let me ask some basic questions. Can anybody explain me about the following questions: 1. When we have to create sn key? Whenever we compiled Component we have to create or it is a one time...
2
by: Fay Yocum | last post by:
BEWARE beginner questions!! I have some experience in Access but never as much as I want or need. I have decided to get in on VB.Net. I would only rate myself in Access as a...
0
by: software2006 | last post by:
ASP And Visual Basic Interview questions and answers I have listed over 100 ASP and Visual Basic interview questions and answers in my website...
4
by: Goran Djuranovic | last post by:
Hi all, I am experiencing a strange thing happening with a "designer.vb" page. Controls I manually declare in this page are automatically deleted after I drop another control on a ".aspx" page. -...
2
by: LayneMitch via WebmasterKB.com | last post by:
Hello. This is a basic quiz. Only about 3 questions. I'm having issue with the answer key which stays on a certain value regardless of acknowledging that you have the correct answer for the...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.