Re: Install ADOX into Delphi 2005



Dennis,

Thanks for that. I'll give it a go over the weekend.

Regards,

Andy
Dennis Passmore wrote:
Does anyone know how to do this?

The simplest way is to use ..\Bin\Tlibimp.exe as follows

TLibImp -P+ "C:\Program Files\Common Files\System\ado\msadox.dll"

to generate the ADOX_TLB.pas and ADOX_TLB.dcr files Copy the files into your ..\Lib folder and open up
ADOX_TLB.pas and search and replace all references to
3a. Change "TTable" to "TADOXTable"
3b. Change "TColumn" to "TADOXColumn"
3c. Change "TIndex" to "TADOXIndex"
3d. Change "TKey" to "TADOXKey"
3e. Change "TGroup" to "TADOXGroup"
3f. Change "TUser" to "TADOXUser"
3g. Change "TCatalog" to "TADOXCatalog"

now edit the Register procedure and change the resourcestrings to

dtlServerPage = 'ADOX';

dtlOcxPage = 'ADOX';

now Openup ..\Lib\dclusr.dpk and add DOX_TLB.pas. Compile and install and it will add a ADOX tab to the Palette and the
components as required.

From now on you are on your own.


.