Page 1 of 1

Borland C++ Builder 5 and ODAC 5

Posted: Thu 29 Mar 2007 10:23
by Herby65
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?

Posted: Thu 29 Mar 2007 13:10
by Plash
The dac50.lib and odac50.lib names should be present in the LIBRARIES and SPARELIBS values.

Build with runtime packages

Posted: Thu 29 Mar 2007 13:54
by Herby65
I had to add a reference to the ODAC50.BPI file in the section

Posted: Fri 30 Mar 2007 10:36
by Plash
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.