
When a property or method passes back an OleObject handle consisting of a list with to long integers in it is passing an address to a OleObject.
The object must be cleared from memory eventually. ObjectDCL will clear all the OleObjects for you once the dialog boxes are closed. If you wish to keep the memory clean use this method to clean the OleObject from memory once you are finished with it. This method will not delete the item it handles, just the internal device used to modify the control or object belonging to the control.
Returns the following according to the situation:
Copy Code |
|---|
(Odcl_AxObject_Release MyOleObject [as OleObject]) |
Copy Code |
|---|
; Get the ActiveX object (Setq rObject (Odcl_AxControl_GetOleObject MyProject_MyForm_MyControl)) ; Release the handle to the ActiveX (Odcl_AxObject_Release rObject) |