Data shaping GUIDs undefined, undocumented

From: Rufus DeDufus (sporkmeupScotty_at_hotmail.com)
Date: 05/29/04


Date: Fri, 28 May 2004 23:28:44 -0700

I am trying to connect to a data shape service following the example of
Nallet, "OleDB Consumer Templates", pp.326.

He uses a GUID DBPROPSET_MSDSDBINIT which is not found anywhere else in the
world, including Google, and which is not found in my headers.

Microsoft documents
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/oledb/htm/
oledbprovsupported_properties_of_the_data_shaping_service_for_ole_db.asp)
the use of DBPROPSET_MDSDBINIT , which is the same thing minus one 'S', but
it, too, is not found in my headers, on my hard drive. or on Google, except
on that solo web page.

What do I have to do to connect to a data shape service on Access 4.0
through OleDB/C++?

My code fragment is below:

 dbinit[2].SetGUID(DBPROPSET_MDSDBINIT );
 dbinit[2].AddProperty(DBPROP_MSDS_DBINIT_DATAPROVIDER,
OLESTR("Microsoft.Jet.OLEDB.4.0"));

C:\Program Files\Microsoft Visual
Studio\MyProjects\scrap\View1\View1.cpp(111) : error C2065:
'DBPROPSET_MDSDBINIT' : undeclared identifier