Easy, which version you want??
Just use CoCreateInstance( CLASS_Recordset, nil, CLSCTX_ALL,
IID__Recordset, IMyRecordSet )
and check the returned value for ssucess - see what OleCheck() does. If this
fails, then you know it's not installed.
You can check for version by using a different IID/Class - these names came
from ADOInt that are in D5.
> -----Original Message-----
> From: Neven MacEwan [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, June 12, 2000 11:13 AM
> To: Multiple recipients of list delphi
> Subject: [DUG]: Detecting ADO
>
> Hiya ALL
>
> Busy Morning.. does anyone know offhand how to detect if ADO is installed?
> Programattically from D5
>
> TIA
>
> Regards Neven
> N.K. MacEwan B.E. E&E
> [EMAIL PROTECTED]
>
> --------------------------------------------------------------------------
> -
> New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz