The CreateInstance function creates an instance of
a registered COM object.
Syntax
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 failed, use GetError to
get the description of the error.