Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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++

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.