Export (0) Print
Expand All

24 Compiling Code for the Runtime

Visual Studio .NET 2003

There are two main scenarios for using Managed Extensions. A project is developed with Managed Extensions for C++ that interoperates with unmanaged code, or other managed projects. The other main use is to port existing unmanaged C++ projects to the .NET Framework.

The following sections discuss compilation for these scenarios. The following constraint applies to all Managed Extensions projects.


  • A Managed Extensions project shall not have a main, wmain, WinMain, wWinMain, or DllMain function that contains parameters of managed type.
© 2015 Microsoft