Search notes:

Registry: HKEY_CLASSES_ROOT\CLSID\{class-id-of-OLE-DB-Provider}

An OLE DB provider is identified in the registry by a OLE DB Provider subkey under HKEY_CLASSES_ROOT\CLSID\{class-id-of-OLE-DB-Provider}
The following registry subkeys and values are required for OLE DB Providers:
key name value Example value
HKCR\CLSID\{oledb-provider-clsid} default value Version independent prog id OraOLEDB.Oracle
HKCR\CLSID\{oledb-provider-clsid} OLEDB_SERVICES Supported services 0xffffffff
HKCR\CLSID\{oledb-provider-clsid}\Extended Errors default value Extended Error Service Extended Error Lookup Service
HKCR\CLSID\{oledb-provider-clsid}\Extended Errors\{clsid} default value Friendly display value Oracle OLE DB Error Lookup
HKCR\CLSID\{oledb-provider-clsid}\InprocServer32 default value DLL file path C:\oracle\18c\bin\OraOLEDB18.DLL
HKCR\CLSID\{oledb-provider-clsid}\InprocServer32 ThreadingModel Apartment or Free or Both
HKCR\CLSID\{oledb-provider-clsid}\OLE DB Provider default value description Oracle Provider for OLE DB
HKCR\CLSID\{oledb-provider-clsid}\ProgId default value Prog Id of provider OraOLEDB.Oracle.1
HKCR\CLSID\{oledb-provider-clsid}\VersionIndependentProgID default value Version independent Prog Id OraOLEDB.Oracle

VersionIndependentProgID

The value of the version independent prog id (VersionIndependentProgID) needs to be supplied to the provider key in an OLE DB connection string.

See also

This VBS script tries to find OLE DB providers based on the presence of the OLEDB_SERVICES value under a HKCR\CLSID class id.

Links

docs.microsoft.com: Provider Registry Entries

Index