Linker error upgrading to Builder 2009

Discussion of open issues, suggestions and bugs regarding usage of dbExpress drivers for MySQL in Delphi and C++Builder
Post Reply
rfish
Posts: 7
Joined: Mon 08 Nov 2004 14:28
Location: Fredericksburg, VA

Linker error upgrading to Builder 2009

Post by rfish » Wed 26 Aug 2009 17:30

I've upgraded a project from Builder 2007 to 2009 and am now getting a linker error, unable to open file CRSQLCONNECTION.OBJ.

I followed the installation notes and compiled (command line) the dclcrdbx120.dpk package. It didn't produce any obj files.

What am I missing?

rfish
Posts: 7
Joined: Mon 08 Nov 2004 14:28
Location: Fredericksburg, VA

Fixed problem?

Post by rfish » Thu 27 Aug 2009 18:02

If I compile \Source\CRSQLConnection.pas as follows

dcc32 -JPHNE CRSQLConnection.pas

I can generate the obj file neccesary to link in C++ Builder 9

rfish
Posts: 7
Joined: Mon 08 Nov 2004 14:28
Location: Fredericksburg, VA

Post by rfish » Thu 27 Aug 2009 18:03

Sure seems like I"m talking to myself.

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

Post by Dimon » Fri 28 Aug 2009 06:04

You compile the obj file for C++ Builder 9 correctly.
Note, in RAD Studio 2007 and above the standard TSQLConnection component provides exactly the same functionality as TCRSQLConnection. Therefore the TCRSQLConnection component is not registered automatically.

Post Reply