SQLite function is not linked.

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
devweb
Posts: 16
Joined: Sat 02 Feb 2008 08:10

SQLite function is not linked.

Post by devweb » Sun 11 Jul 2010 14:12

I got this error when I try to open any UniQuery or UniTable with delphi 2009 under windows 7 64 edition.

I have tried to download latest version of Sqlite Dll , and the same problem exist.

the application was working fine when I was using Win 7 32bit, but no longer work under windows 7 because of this error.

Also I tried with new project and got same problem.

Any help?

bork
Devart Team
Posts: 649
Joined: Fri 12 Mar 2010 07:55

Post by bork » Mon 12 Jul 2010 13:41

Hello

This error can occur if an application cannot find or load the SQLite DLL.

If your application cannot find the SQLite DLL then you should set the correct path to this library in the ClientLibrary specific option. Also you should keep in mind that the default folder for application in the design-time and in the run-time is different. So if you try to define a relative path to your SQLite library then it can be different in the design-time and in the run-time.

If you application cannot load the SQLite DLL then you should check permissions because Windows 7 can forbid loading the SQLite library.

To check if the SQLite library is loaded you can set a breakpoint to any place and when application stops at this breakpoint you can open the list of the loaded DLLs: Delphi -> View ->Debug Windows -> Modules.

Post Reply