On 13 Jul 2013, at 10:14am, Dušan Paulovič <paulo...@gisoft.cz> wrote:
> - These plugins can be loaded and uloaded by user. > - Main application itself does not use SQLite, so each plugin using SQLite > must be linked to it. This is a defect in the way plugins are implemented. The easiest cure would be to have Bentley incorporate the SQLite API into its product even if it wasn't called in its product. But you are not Bentley and they may not do this just because you asked them. SQLite is implemented as one .h and one .c file. They are both tiny. The idea that it should be used as a DLL was invented by Windows users who seem to expect everything to be a DLL. Implementing as DLLs brings about its own confusion of dependencies and version conflicts. One cure you can control is to have the plugins incorporate SQLite by including the amalgamation source code (the .h and .c files) rather than trying to have them each use the same DLL. You can find the amalgamation source code here: <http://www.sqlite.org/download.html> Another is to have each plugin link to their own SQLite DLL, with an appropriate name, even if those DLLs are identical. I /think/ this will work under Windows. Simon. _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users