开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜