Migrate ReadSoft Invoices customizations to recent operating systems
ReadSoft Invoices 5.6 or later can run on Windows Vista, Windows 7, Windows Server 2008 R2, and later operating systems. Enhancements and updates in the source code support the special requirements of those operating systems. These changes also affect customization handling, i.e., plug-ins and the COM API.
The newer operating systems are more restrictive than earlier operating systems with respect to user access to system files. In particular, regular users generally cannot modify the content of the WINDOWS and Program Files directories. Therefore, starting with ReadSoft Invoices 5.6, customizable file locations are supported. For example, the location of the Eilocal.ini file is no longer hard-coded to C:\WINDOWS but can be specified during installation.
The ReadSoft Invoices COM API and event-handling mechanism are also modified so that they no longer assume file locations that are now selectable. Therefore, hard-coded file locations for configuration data are no longer required or allowed or accessible from the API. Instead, we must now use the Configuration property to access configuration data.
To support plugins on these newer operating systems:
- Upgrade ReadSoft Invoices according to the table above.
- Write or rewrite the plug-in code to support these operating systems. The IsVistaConverted method must be present, and the Configuration class must be supported.
- Use the Configuration property of the Application object to access the INI files.
Related topics