com_release
result = com_release (handle)
Releases a handle to a COM object which was previously obtained with com_attach or as the result of a call to com_call or com_prop_get. It is very important to release all COM handles when they are no longer needed since the COM server they are attached to will not exit properly if they are not released. Also, you should release all COM handles before you exit from Arbortext Editor.
The return value from com_release is 1 if it succeeded and 0 if it failed.
Example
com_release(wordh)
The example above releases the handle that was obtained in the example to com_call.
Related Topics
Est-ce que cela a été utile ?