COMDestroyObject Syntax COMDestroyObject(strObjHandl); strObjHandl The handle associated with the component to be unloaded. Description Unloads the COM component associated with the specified handle. Returns A number indicating whether the component was successfully unloaded. 0 The component was successfully unloaded. -1 Failed to unload component. Example $iRetVal=COMDestroyObject("objTest");
COMDestroyObject(strObjHandl);
strObjHandl
0
-1
$iRetVal=COMDestroyObject("objTest");