Sample Provider Limitations

The following are limitations in SAMPPROV.DLL:

  • This code example is for illustrative purposes; the sample provider has not been rigorously tested.

  • IDBInitialize::Initialize requires the path to the .csv file. If the path is not supplied by the calling application, SAMPPROV prompts the user for the path.

  • The data source object can create only one session; the session can create only one rowset. This is because the underlying CfileIO object opens the .csv text files in exclusive mode and has no mechanism to share access to the file.

  • The use of properties is very simple: only a small set of properties are illustrated, and properties are read-only.

See Also

Tasks

OLE DB sample provider