dbxmda 3.0.1.0 doesnt work with C++ Builder 2006 !

Discussion of open issues, suggestions and bugs regarding usage of dbExpress drivers for MySQL in Delphi and C++Builder
Post Reply
styletronic
Posts: 8
Joined: Fri 10 Mar 2006 14:21

dbxmda 3.0.1.0 doesnt work with C++ Builder 2006 !

Post by styletronic » Fri 10 Mar 2006 14:26

I am working on an important project and now i see that dbxmda raises an EAccess violation under C++ Builder 2006 :evil:

Of course i am using the file "dbexpmda30.dll"

What's wrong here? Does the dll only work with Delphi 2006?

Regards, Martin

styletronic
Posts: 8
Joined: Fri 10 Mar 2006 14:21

Post by styletronic » Fri 10 Mar 2006 14:47

When i use TSQLConnection instead of TCRSQLConnection, it seems to work.

Antaeus
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Mon 13 Mar 2006 16:06

This happens because files CRSQLConnection.hpp, CRSQLConnection.obj for C++Builder 2006 wasn't included into installation package. You can build them using something like this:

D10\bin\dcc32 -jphn CRSQLConnection.pas

But if you want we can send them to you by e-mail.

styletronic
Posts: 8
Joined: Fri 10 Mar 2006 14:21

Post by styletronic » Mon 13 Mar 2006 20:17

OK, i have built the two files.
What should i do then?

Antaeus
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Tue 14 Mar 2006 12:34

You should copy these files to any reachable directory and include this directory to the Include search path of your project. This way is recommended.

Another way is copying CRSQLConnection.hpp and CRSQLConnection.obj into dbxMda installation path instead of existing files with the same name.

Post Reply