Il 14/10/2010 15:51, Michael Van Canneyt ha scritto:

Yes. Put the following in the startup code of your app:

uses sqlite3dyn;

begin
   InitializeSqlite('libsqlite3.so.0');
end;

I tried but now I get the following error when I create at runtime the sqlite db and related tables:

sqlite interface already initialized from library libsqlite3.so.0


More sophisticated would be to detect which file actually exists, and use
the correct filename.

How can I do that? Suggestions?

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to