Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can you embed C code in .NET
Message
De
25/02/2005 09:48:39
 
 
À
25/02/2005 09:29:07
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
VB.NET 1.1
OS:
Windows XP SP2
Divers
Thread ID:
00990509
Message ID:
00990520
Vues:
20
If you were writing code in VB.NET, you would give a directive, something like #BEGIN VC++, and then start writing code in C++. This is not supported in .NET. You can make an assembly in another .NET language and reference that.

But, why would you want to do embedded code? If it's managed C++ code, then it will compile to the same MSIL and use the same runtimes. If it's unmanaged code, then you need to be careful to handle all the garbage collection and cleanup.

>I am not sure what embedded code is. I assume it means I make a call to a C or C++ program or routine.
>Would someone give me a more precise definition of embedded code and can you embed C++ in .NET?
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform