Genero Desktop Client front calls / Windows COM Support |
The WinCOM API is based on the front call technique as described in Front End Functions. All WinCOM functions are grouped in the WinCOM front end function module.
Function name | Description |
---|---|
CALL ui.Interface.frontCall("WinCOM","CreateInstance", [ program ], [handle] ) |
The CreateInstance function creates an instance of a registered COM object. |
CALL ui.Interface.frontCall("WINCOM","CallMethod", [ handle, method, arg1, ... ], [result] ) CALL ui.Interface.frontCall("WINCOM","CallMethod", [ handle, method(arg1, ...) ], [result] ) |
The CallMethod function calls a method on a specified object. |
CALL ui.Interface.frontCall("WINCOM","GetProperty", [ handle, member ], [result] ) |
The GetProperty function gets a property of an object. |
CALL ui.Interface.frontCall("WINCOM","SetProperty", [handle, member, value], [result] ) |
The SetProperty function sets a property of an object. |
CALL ui.Interface.frontCall("WINCOM","GetError", [], [result] ) |
The GetError function gets a description of the last error which occurred. |
CALL ui.Interface.frontCall("WINCOM","ReleaseInstance", [handle], [result] ) |
The ReleaseInstance function releases an Instance of a COM object. |
COM language syntax is very flexible and allows lots of notation. Genero WinCOM API is slightly more strict: