As far as having managed members inside of a C++ unmanaged class, FCL
provides gc<T> template. For example,
class MyUnmanaged
{
gc<System::String*> m_Str;
...
};
However, gc template doesn't work for value types. I can't seem to find a
way to create member variable of type System::DateTime inside an unmanaged
class. Does anyone know about a mechanism that would allow me to accomplish
this?
Thanks,
-Boris