get destroyed by GC// Get internal representation of this objectvar handle2 = GCHandle.FromIntPtr(ptrObj); // Get handle from IntPtrvar myDict = (objDict.GetType())objDict;
在一个模块中,
intermediateCallback‘的'void* userData’参数是我想要转换回委托实例的参数。此参数作为转换为IntPtr转换为空*的委托传递到未修改的代码中。我可以将空*转换回IntPtr,但如何将其转换回委托类型“tempFunc”?call and pass data to{
System::IntPtr</em