TDBXError "Unknown driver: DevartMySQLDirect"
Posted: Thu 27 Aug 2009 18:33
Using Builder 2009 and MySQL dbexpress 4.40.0.16 i get the above error.
This code worked fine under Builder 2007
What is going on?
This code worked fine under Builder 2007
Code: Select all
connection->ConnectionName = "Devart MySQL Direct";
connection->DriverName = "DevartMySQLDirect";
connection->LibraryName = CRLIB;
connection->VendorLib = "not used";
connection->GetDriverFunc = "getSQLDriverMySQLDirect";
connection->Params->Clear();
connection->Params->Values["Database"] = dbaseName;
connection->Params->Values["HostName"] = fullHost;
connection->Params->Values["Port"] =IntToStr( port);
connection->Params->Values["User_Name"] = this->userID;
connection->Params->Values["Password"] = this->password;
connection->Params->Values["Connection Timeout"] = IntToStr(30);
connection->Connected = true;