Navigation:  Working with program >

Automation (COM interface)

Previous pageReturn to chapter overviewNext page

This chapter describes server program functions for advanced users, programmers, who would like to control server program using COM interfaces, i.e. automation. Most of users should not read or understand that chapter. Number of functions to be extended, propose your ideas. Later you will be able to connect any cash registers and other hardware equipment.

 

ComputerZal.App

 

Methods:

 

To be added later

 

Properties:

 

Version - return server program version number

 

[propget, id(1), helpstring("property Version")] HRESULT Version([out, retval] BSTR* pVal);

 

Sample usage (VBScript):

 

Set cz = CreateObject("ComputerZal.App")

MsgBox cz.Version

 


 

Started - return True if server program is started and working

 

[propget, id(2), helpstring("property Started")] HRESULT Started([out, retval] VARIANT_BOOL* pVal);

 

Sample usage (VBScript):

 

Set cz = CreateObject("ComputerZal.App")

MsgBox cz.Started