Can somebody give me a very basic overview of what managed C++ is under .NET.
Many thanks
Printable View
Can somebody give me a very basic overview of what managed C++ is under .NET.
Many thanks
Quote:
Posted by CornedBee:
Unmanaged C++ is traditional C++ the way we know it.
Managed C++ is a special capability of the Visual C++.NET compiler. It means that C++ code is compiled to .NET MSIML (bytecode) instead of native code, uses the .NET CLR (framework) and GC (garbage collection). Beside the /clr compiler switch it also requires a few special keywords to be used, the most important being __gc for class and/or pointer declarations (a bit tricky). The #import directive and the using keyword are also important, as well as the __delegate keyword.
Nice to see me quoted :)