June 8th, 2010, 03:15 AM
How can I compile some parts of C++/CLI code as Native and some part as Managed?
I am calling LoadTypeLib for loading unmanaged type libraries in C++/CLI. I need to compile some code(some code areas) as managed and some code areas as unmanaged(native) code and form a mixed mode class library as executable.
What i need to mention between the lines of code so that whatever the part i need to be compiled as managed should compiled as managed and what part I need to be unmanaged(native) should be compiled as native?
Click Here to Expand Forum to Full Width