I have C++ code in Visual studio 6 (unmanaged) that I would like
to use in .Net (Managed C++ code).
Is it possible to instantiate an unmanaged object in managed code?
Printable View
I have C++ code in Visual studio 6 (unmanaged) that I would like
to use in .Net (Managed C++ code).
Is it possible to instantiate an unmanaged object in managed code?
Yes. Unless the class is marked as __gc/__value or you use __gc new, the object will be unmanaged.