/// <summary> /// Release the IDropTarget and free's the allocated memory /// </summary> private void ReleaseCom() { if (dropTarget != null) { Marshal.ReleaseComObject(dropTarget); dropTarget = null; dropHelperPtr = IntPtr.Zero; } }
/// <summary> /// Release the IDropTarget and free's the allocated memory /// </summary> private void ReleaseCom() { if(dropTarget != null) { Marshal.ReleaseComObject(dropTarget); dropTarget = null; dropHelperPtr = IntPtr.Zero; } }