Connect(Client As Object) As Integer
Application object
This is a callback function that is normally called by remote clients that want to connect to a ReadSoft Invoices module, such as a supervision module. When this function is called, the AppConnect event is fired, and the return value from the handler is passed back to the connecting client.
The return value is normally EV_OK (0), which indicates that the connection was accepted. The Client parameter should be the IDispatch interface of the connecting object.
Related topic