Thanks, now I understand. I loaded up the driver like this...
Code: Select all
dbObj->Params->Clear();
dbObj->Params->Add("Database="+database);
dbObj->Params->Add("User_Name="+username);
dbObj->Params->Add("Password="+password);
dbObj->LibraryName = "dbexpida40.dll";
dbObj->GetDriverFunc = "getSQLDriverInterBase";
dbObj->Open() ;
but I am still getting the same errors i was getting with regular dbexpress which is ...
Project [project name.exe] raised exception class TDBXError with 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.
I do have the driver in the folder with my exe and I am using cBuilder XE with interbase 6.
This did originally work with interbase XE but not interbase 6 but now it doesnt work with either. Any ideas?[/code]