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.
Usage
Set your global application variable to nothing, thus reducing the reference count of the ReadSoft Invoices application.
Related topics
Plug-in methods to use in Kofax ReadSoft Invoices extensions
Use an ActiveX object as a Kofax ReadSoft Invoices extension