Error linking legacy app with Rad Studio 2007.

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
w0wbagger
Posts: 7
Joined: Wed 24 Aug 2005 20:23

Error linking legacy app with Rad Studio 2007.

Post by w0wbagger » Mon 24 Nov 2008 22:34

Hi, I've just started trying to convert an old project from BCB6 to Rad Studio 2007 (C++ Personality), and while everything seems to compile, I'm getting this error at link time:

[ILINK32 Error] Fatal: Unable to open file:'DBACCESS.OBJ'

I have the mydac library in my path, and I don't get any other link errors (I'm assuming it's part of the lib file).

This compiles fine in BCB6. Is it possible the install of the mydac package into Rad Studio 2007 didn't work?

TMyConnection/About says I'm using v5.55.0.39 for Delphi 2007.

Any ideas? Thanks in advance.
Ian

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Tue 25 Nov 2008 13:16

To solve this problem you should add the dac105.lib and the mydac105.lib libraries in the project with the Project->Add to Project... menu.

Post Reply