+1 800 256 3608 (toll-free in North America) or +49 7531 90 60 10| service@combit.com

C++ Builder 5 Prof. and ADO Support

(combit Team) #1
Valid from List & Label 11
C++ Builder 5 supports ADO starting with the Enterprise version. In order to use the advanced databinding mode of the C++ Builder component with editions not supporting ADO, perform the following steps:

1. Open the cbpack.bpk file in the '..\combit\LLx\Programmable Samples and Declarations\CodeGear C++ Builder\CBuilder6' for List & Label 12 and for older versions '..\combit\LLx\cb\CBuilder5' subdirectory of your List & Label installation folder (exchange the x with the version number e.g. LL19). Delete the references to vclado50.lib and vclado50.bpi. The entries will then look like this:
<SPARELIBS value="Vcl50.lib Vcldb50.lib vclbde50.lib"/>
<PACKAGES value="vcl50.bpi dsnide50.bpi vclbde50.bpi Vcldb50.bpi"/> 


2. Open the cbpack.cpp file in the ‘…\combit\LLx\Programmable Samples and Declarations\CodeGear C++ Builder\CBuilder6’ for List & Label 12 and for older versions ‘…\combit\LLx\cb\CBuilder5’ subdirectory of your List & Label installation folder (exchange the x with the version number e.g. LL19). Delete the entry

USEPACKAGE("Vclado50.bpi"); 


3. Open the l19.pas file in the ‘…\combit\LLx\Programmable Samples and Declarations\Borland C++ Builder’ for List & Label 12 and for older versions the lx.pas file in the ‘…\combit\LLx\cb’ subdirectory of your List & Label installation folder (exchange the x withthe version number eg. l19.pas). Comment out the following line:

{$define ADOAVAILABLE}


resulting in:

//{$define ADOAVAILABLE}
IDKBTE000674 KBTE000674