PDA

View Full Version : Can not load client library: sqlite3.dll



atraversi
12-21-2016, 10:40 AM
Hello

Sorry, my English s bad!.

I recently purchased Premier 2016 and I have problems with a project which currently runs smoothly in Installshiled 2009. It is an InstallScript project without MSI.

The script makes a call to a dll (developed by me in Delphi XE8), which uses sqlite, and fails with the error "Can not load client library: sqlite3.dll".
Obviously my dll is in SUPPORTDIR next to sqlite3.dll. The dll uses sqlite3.dll dynamically, via LoadLibrary. If I make a change to use it statically, the problem
It manifests itself differently: the UseDLL function of the script fails.
I clarify that it is not a problem that it does not find the dll, but that it can not load it.

If I make a small program that uses my dll in the same way as the script, the problem does not happen.
The problem only manifests itself if the setup.exe process makes the call to my dll. Maybe Setup.exe is using another version of sqlite and generates this conflict?

Regards,
Angel

hidenori
12-21-2016, 01:07 PM
Have you checked out this thread (https://community.flexerasoftware.com/showthread.php?221107-Loading-dll-Failed)?

atraversi
12-22-2016, 12:48 PM
Have you checked out this thread (https://community.flexerasoftware.com/showthread.php?221107-Loading-dll-Failed)?

Thanks hidenori, this thread has solved my problem!!


Thank you very much

atraversi
01-11-2017, 04:05 PM
Have you checked out this thread (https://community.flexerasoftware.com/showthread.php?221107-Loading-dll-Failed)?

I am disconcerted. I have again had this problem (on another PC with the same version of Windows) and I could not solve it by using UseDLL from sqlite3.dll.

I need to reopen this thread.

atraversi
01-11-2017, 04:09 PM
I am disconcerted. I have again had this problem (on another PC with the same version of Windows) and I could not solve it by using UseDLL from sqlite3.dll.

I need to reopen this thread.