Borland C++ Builder 5 and ODAC 5

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Herby65
Posts: 2
Joined: Thu 29 Mar 2007 10:11
Location: UK

Borland C++ Builder 5 and ODAC 5

Post by Herby65 » Thu 29 Mar 2007 10:23

I have recently replaced DAO components with ODAC due to the previous being riddled with memory leaks and performance issues.
Well done ODAC.

But, when the program starts it crashes due to linkage problems with the ODAC libraries.

It seems for certain project files we have to remove the references to the ODAC libs.

eg:




With the references to the DAC present, the program crashes when starts.
If we remove the references then its ok?

This is a real issue for us - can anybody help?

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Thu 29 Mar 2007 13:10

The dac50.lib and odac50.lib names should be present in the LIBRARIES and SPARELIBS values.

Herby65
Posts: 2
Joined: Thu 29 Mar 2007 10:11
Location: UK

Build with runtime packages

Post by Herby65 » Thu 29 Mar 2007 13:54

I had to add a reference to the ODAC50.BPI file in the section

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Fri 30 Mar 2007 10:36

If you build your project with the ODAC run-time packages, references to the dac60.lib and odac60.lib should appear in SPARELIBS and references to the dac60.bpi and odac60.bpi should appear in PACKAGES.

Post Reply