SampClnt: OLE DB Sample Consumer

Click to open or copy the files for the SampClnt sample.

This sample is an OLE DB consumer. See the OLE DB SDK Guide for information on building and running this sample, as well as notes about the implementation of a simple OLE DB consumer.

This sample has the following parts:

File Description
Dump.cpp Dump\output routines. See Readme.txt for more information.
Sampclnt.cpp Implementation file for a simple OLE DB consumer. This file is structured to match the steps required for simple OLE DB data access.
Sampclnt.h Declaration file for a simple OLE DB consumer.

Building SDK Samples

This sample uses the following keywords:

_getch; _vsnprintf; assert; calcprettyprintmaxcolwidth; cleanuprowset; cocreateinstance; cofreeunusedlibraries; cogetmalloc; createaccessor; createsession; ctime; define_guid; dotests; dump_error_linenumber; dumpcolumnheadings; dumpcolumnsinfo; dumperrorhresult; dumperrormsg; dumprow; dumpstatusmsg; failed; fclose; fopen; fputs; free; getcolumninfo; getcolumnsinfo; getdata; getdatafromrowset; getdbsessionfromdatasource; getnextrows; getnotestring; getnotestringbitvals; getrowsetfromdbsession; getsampprovdatasource; getscode; initialize; lookupcolumnname; malloc; min; note; numelem; offsetof; olebuildversion; oleinitialize; oleuninitialize; printcolumn; printf; queryinterface; release; releaseaccessor; releaserows; resultfromscode; round_up; setproperties; setupbindings; strcat; strcpy; stringfromguid2; swprintf; sysallocstring; tfprintf; time; tvfprintf; va_end; va_start; variantchangetypeex; variantclear; variantinit; wcscpy; writecolumninfo