CreateInstance
The CreateInstance
function creates an instance of
a registered COM object.
Syntax
Important: This feature is deprecated, and may be removed
in a future version.
CALL ui.Interface.frontCall("WINCOM","CreateInstance",
[program], [handle] )
- program is the classname of the registered COM object.
- handle is an integer variable receiving the status.
- handle is -1 if there as an error, otherwise an integer value that can be used for a later call to the API.
- If the function fails, use
GetError
to get the description of the error.