Re: Install ADOX into Delphi 2005
- From: Andy Stephenson <info2004@xxxxxxxxxxxxx>
- Date: Fri, 24 Nov 2006 15:25:45 +0000
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 to3a. 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.
- References:
- Install ADOX into Delphi 2005
- From: Andy Stephenson
- Re: Install ADOX into Delphi 2005
- From: Dennis Passmore
- Install ADOX into Delphi 2005
- Prev by Date: Re: Install ADOX into Delphi 2005
- Next by Date: Re: Cancelling an ADO Command takes too long
- Previous by thread: Re: Install ADOX into Delphi 2005
- Index(es):