Using the Code Samples

The Microsoft OLE DB Simple Provider Toolkit supplies sets of sample code for building a provider in three different languages. All three samples use the same external data source, Customer.txt (located in ..\Samples\osp), from which to load data. You can use these samples as a starting point for building your own provider by copying and editing the appropriate files or by using the sample files as a model and creating your own provider files from scratch.

Select one of the choices below for information on the OSP sample for that language.


This feature will be removed in a future version of Windows. Avoid using this feature in new development work, and plan to modify applications that currently use this feature. Instead, write a fully functional OLE DB provider using the native OLE DB interfaces.