Click here to Skip to main content
15,664,618 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a Delphi program which uses dbexpress to connect to a Firebird database.
When I run it on my computer within IDE workks fine. When I place the executable in a sepatare folder with the dbx4fb.dll, which is how I would like to deploy it, it
fails to find the dll.

Is there any way of telling the pogram where to find dbx4fb.dll or at least knowing
where it is trying o load from?

What I have tried:

I've tried placing the dbx4fb.dll in the Windows\System32 folder and even the
SysWOW64 folder although my program is 64 bit.
Sayee Subramania Sastry 12-Feb-20 7:35am    
If your dll placed in system32 / exe folder then it loads, Please specify the error / behavior to understand better.
Gerry Schmitz 12-Feb-20 10:20am    
Check the "current directory" setting.
Member 9634058 12-Feb-20 10:22am    
What or whare is the current directory?
Member 9634058 12-Feb-20 10:31am    
Found it!
Member 9634058 12-Feb-20 10:47am    
Still makes no difference - Works in design by setting the connection to true
but not in run time.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900