This email was created by [your name] who thought you would be interested in the following Article:
"Creating an OLE DB Data Provider"
This article shows how to create an OLE DB Data Provider that wraps both a C struct and C++ class containing data that is to be made accessible by a SQL query.
CodeProject also contains hundreds of articles, free source code samples and applications to help in your day to day programming. Why not give it a try!