I am calling LoadTypeLib for loading unmanaged type libraries in C++/CLI. I need to compile some code areas as managed and some code areas as unmanaged (native) and form a mixed mode class library as executable.
What part do I need to be managed and unmanaged (native) to compile as managed and native respectively?
Prefer using #pragma managed
with push and on/off, then pop, #pragma unmanaged
is actually quite useless.