Disconnect(ehApp as Object) As Long

Description

When a ReadSoft Invoices application closes, it calls the Disconnect method in every loaded plug-in.

Return value

Always return EV_OK.

Remarks

Every plug-in must contain this method with exactly this signature. The method is important to implement, so that the reference count is correct. If it is not, the ReadSoft Invoices module might not close correctly.