Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Managed Applications and Unmanaged Functions

Visual Studio .NET 2003

By default, all files using the /clr compiler option are compiled to managed code. Because Managed Extensions for C++ depends on a managed heap, certain C++ keywords and constructs are not suitable for use in managed code. For instance, usage of the __asm keyword within a function forces the compilation of the entire function to native code.

For a complete list of cases where unmanaged code is generated automatically, see 24.1 Effects of the /clr Switch.

See Also

Interoperability in Managed Extensions for C++

Show:
© 2015 Microsoft