Hi,
I'm using the latest IBDac in a project which uses a plugin system (from Jedi project).
The main application includes a datamodule which carries TIBCConnection and TIBCQuery (the uses clause includes IBC) and does not uses packages.
This main app loads (via the Jedi plugin system) a package file on startup which also includes a datamodule with many TIBCQueries. Of course the uses clause of the datamodules need IBC, too.
When loading this plugin I get this error: 'A class named TIBCArrayField already exists.' and the loading terminates.
I guess this is due to the fact that the main application and the plugin package include the IBC unit which both try to register this class.
How should I go on to get rid of this error. Can I change the coding in IBC.pas to first check if the class TIBCArrayField has been registered already or can you suggest an alternate solution?
cu,
Michael