How to port C++ code to C++/CLI in Visual Studio?
问题 I have an application written in native C++ which I'd like to get running on the .NET virtual machine. I was thinking of recompiling the C++ code as C++/CLI, using the Visual Studio 2008 compiler. Regrettably, I don't find any documentation on how to do this, so hence my questions: Does this actually make sense? Am I trying the impossible? Where can information on the topic be found? 回答1: A lot of native C++ code will actually just compile and run on C++/CLI. This is really a kind of hybrid