24.2 Porting Unmanaged Code to the .NET Framework
Visual Studio .NET 2003
There are few restrictions on compiling unmanaged C++ code for the common language runtime.
- All member functions shall be ANSI prototyped.
- Different translation units shall not contain different definitions of a class.
- Unmanaged C++ code shall be compiled with the /clr compiler option on.