MDAC 2.5 SDK - OLE DB Providers
OSP Toolkit
OLE DB Simple Provider DLL
The Msdaosp.dll file (the DLL that maps OSP to OLE DB) must be installed in the following directory:
\Program Files\Common Files\System\OLE DB
The DLL must be registered with Regsvr32.exe prior to its use.
All Other Files
The remaining OSP Toolkit files must be installed in the locations specified below. The following table provides a list of the OSP Toolkit files with descriptions:
File name | Install location | Description |
Msdaosp.dll | \Program Files\Common Files\System\OLE DB | OLE DB mapping layer file. |
Msdaosp.h | ..\Include | OSP Toolkit header file. |
Msdaosp.idl | ..\Unsupported\idl | Defines the IDispatch DataSourceObject and GUIDs. |
OspSamplesreadme.htm | ..\osp | Readme file for OSP Toolkit. |
Msdatasrc.h | ..\Include | IDataSource header file. |
Msdatsrc.tlb | \WinNT\System32 or \Win95\System | IDataSource type library. |
Msdatsrc.idl | ..\Include | Defines IDataSource interface. |
Simpdata.h | ..\Include | IOLEDBSimpleProvider header file. |
Simpdata.tlb | ..\Lib | IOLEDBSimpleProvider type library. |
Simpdata.idl | ..\Unsupported | Defines OLEDBSimpleProvider interface. |
Osptk.lib | ..\Lib | Library containing interface GUIDs. |
Customer.txt | ..\Samples\DataAccess\osp | Data file for provider examples. |
RegisterProvider.reg | ..\Samples\DataAccess\osp | Registration template. |
RegisterProvider.txt | ..\Samples\DataAccess\osp | Registration example. |
MyDataSource.cls | ..\Samples\DataAccess\osp\VB | Visual Basic provider example. |
MyOSPObject.cls | ..\Samples\DataAccess\osp\VB | Visual Basic provider example. |
ospsampb.dll | ..\Samples\DataAccess\osp\VB | Visual Basic provider example. |
SampleOSP_VB.reg | ..\Samples\DataAccess\osp\VB | Visual Basic provider example. |
SampleOSP_VB.vbp | ..\Samples\DataAccess\osp\VB | Visual Basic provider example. |
CExList.h | ..\Samples\DataAccess\osp\VC | Visual C++ provider example. |
Common.cpp | ..\Samples\DataAccess\osp\VC | Visual C++ provider example. |
Common.h | ..\Samples\DataAccess\osp\VC | Visual C++ provider example. |
MyClassFactory.cpp | ..\Samples\DataAccess\osp\VC | Visual C++ provider example. |
MyClassFactory.h | ..\Samples\DataAccess\osp\VC | Visual C++ provider example. |
MyDataSource.cpp | ..\Samples\DataAccess\osp\VC | Visual C++ provider example. |
MyDataSource.h | ..\Samples\DataAccess\osp\VC | Visual C++ provider example. |
MyOSPObject.cpp | ..\Samples\DataAccess\osp\VC | Visual C++ provider example. |
MyOSPObject.h | ..\Samples\DataAccess\osp\VC | Visual C++ provider example. |
ospsampc.dll | ..\Samples\DataAccess\osp\VC | Visual C++ provider example. |
SampleOSP_VC.def | ..\Samples\DataAccess\osp\VC | Visual C++ provider example. |
SampleOSP_VC.dsp | ..\Samples\DataAccess\osp\VC | Visual C++ provider example. |
SampleOSP_VC.reg | ..\Samples\DataAccess\osp\VC | Visual C++ provider example. |
MyOSPObject.class | ..\Samples\DataAccess\osp\VJ | Visual J++ provider example. |
MyOSPObject.java | ..\Samples\DataAccess\osp\VJ | Visual J++ provider example. |
MyDataSource.class | ..\Samples\DataAccess\osp\VJ | Visual J++ provider example. |
MyDataSource.java | ..\Samples\DataAccess\osp\VJ | Visual J++ provider example. |
SampleOSP_VJ.vjp | ..\Samples\DataAccess\osp\VJ | Visual J++ provider example. |
SampleOSP_VJ.reg | ..\Samples\DataAccess\osp\VJ | Visual J++ provider example. |
SampleOSP_VJ.sln | ..\Samples\DataAccess\osp\VJ | Visual J++ 6.0 solution file. |