Eduardo Tavares wrote:
Hi!
I finally could install two versions of FB on my computer and run my projects but now I am having difficulty trying to set myconnection to true during designtime.It gives me this error message : DBX Error : Driver could not be properly initialized. Client library may be missing, not installed properly,of the wrong version or the driver may be missing from the system path.
But if I set sqldataset to true on the oncreate event it gives me no error message and it even show a message if I do a if statement checking if sqldataset is true.
My sqlconnection (myConnection) is set with its database property to IP/port:Path to database file
my fbclient.dll is on the same directory of my application.
what am I missing:
This dll should be on your path. At run time it is found because the working
directory is the EXE's directory. At design time it is not found because the
working directory is the $(BDS)\bin directory.
OS loading rules are basically 1) working directroy 2) <windows>,
<windows\system> and finally 3) the path. first occurance it finds is the one
it will try to load.
thank you
Edited by: Eduardo Tavares on Nov 1, 2017 3:06 AM
--
Jeff Overcash (TeamB)
(Please do not email me directly unless asked. Thank You)
Learning is finding out what you already know. Doing is demonstrating that you
know it. Teaching is reminding others that they know it as well as you. We are
all leaners, doers, teachers. (R Bach)
Connect with Us