G
Guest
Hi,
After converting String* to Char*, I need to call Marshal::FreeHGlobal().
Fine. But I need pass this Char* to an unmagaed C++ class and the managed C++
class is not possible to do Marshal::FreeHGlobal() any more. What should I
do? delete Char* in the unmanaged class?
Thanks
After converting String* to Char*, I need to call Marshal::FreeHGlobal().
Fine. But I need pass this Char* to an unmagaed C++ class and the managed C++
class is not possible to do Marshal::FreeHGlobal() any more. What should I
do? delete Char* in the unmanaged class?
Thanks