Registering ActiveX objects in Windows

When ReadSoft Invoices creates an ActiveX object, it does not know if the event server object is located in a DLL or in an executable (.exe) file. Windows looks up the appropriate DLL or .exe file by examining the Windows registry. In order for this to work, the object must be registered with Windows.

Class registration is done by calls to the Win32 API. There are tools and utilities that you can use to simplify the process. For example, Windows 95 and Windows NT include a tool called REGSVR32.exe that registers classes in DLLs you provide. You can use this utility to register and unregister ActiveX objects located in DLLs. Refer to the Visual Basic manual for instructions on how and when registration is done in that environment.

Related topics

Use an ActiveX object as a Kofax ReadSoft Invoices extension