CreateInstance
The CreateInstance
function creates an instance of
a registered COM object.
Syntax
Important:
This feature is deprecated, its use is discouraged although not prohibited.
CALL ui.Interface.frontCall("WINCOM","CreateInstance",
[program], [handle] )
- program is the class name 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.