Unmanaged and Native terms
Does "native" and "unmanaged" code refer to the same concept! or they are different!
Is there an unmanaged code w开发者_如何学Gohich is not native!
There are three modes the C++/CLI compiler can operate in:
- Compiling standard C++ "native types" to machine code (unmanaged)
- Compiling standard C++ "native types" to MSIL (managed)
- Compiling managed types to MSIL (managed)
As you can see, it is possible for standard ISO C++ code to be compiled and executed in the managed environment.
Unmanaged code refers to native code. It means that it's not managed by the .NET Framework.
精彩评论