Initializing INVOICES extensions

When INVOICES extensions are initialized, a link is created between INVOICES’ Application object and the extension.

COM IDispatch plug-in

After an extension is loaded, INVOICES calls its Connect method. The name of the INI  file and the name of section for this extension are passed as parameters together with the Application object.

The purpose of the Connect method is to save a reference to the application object to be used later on. If the extension needs extra configuration information, it can read it from the INI file and section that were passed as parameters in the Connect call.

During initialization, the extension must set up the events it needs. This is done via several calls to INVOICES’ Subscribe method.

DLL extensions

INVOICES programs usually use DLL extensions internally, so normally you do not need to use this feature.

Plug-in methods to use in INVOICES extensions

Setting an ActiveX object as an INVOICES extension

Getting a list of installed INVOICES extensions

Validation tutorial