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?
This is a discussion on instantiate unmanaged object in managed code within the C++ Programming forums, part of the General Programming Boards category; I have C++ code in Visual studio 6 (unmanaged) that I would like to use in .Net (Managed C++ code). ...
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.
All the buzzt!
CornedBee
"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law