![]() |
| | #1 |
| Registered User Join Date: May 2006
Posts: 1,579
| MSDN OLE DB Sample Provider entry point I have built MSDN OLE DB Sample Provider and successfully built/debug it using Microsoft Excel as client. I have found that in DllGetClassObject (classfac.cpp), the class SampProv is initialized as the 1st coclass, then DataSource object will be created in QueryInterface. http://msdn2.microsoft.com/en-us/library/ms715011.aspx The entry point of a COM server (like this Sample OLE DB Provider) is creating a coclass through DllGetClassObject. My question is, how did Microsoft Excel find the entry point coclass of the OLE DB Provider is SampProv coclass? I have this question because Excel is a client with no knowledge about any specific application defined CLSID, like SampProv, how could it be aware of this ID (i.e. Excel knows nothing about 3rd party application's specific name of entry point coclass)? In Windows registry, I can not find any related information indicating that SampProv should be the entry point coclass either. thanks in advance, George |
| George2 is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How accurate is the following... | emeyer | C Programming | 22 | 12-07-2005 12:07 PM |
| MSDN Searching Tips | jverkoey | A Brief History of Cprogramming.com | 4 | 10-19-2004 04:51 AM |
| entry point of MFC Application | Laeeqhamid | Windows Programming | 1 | 12-26-2002 09:06 AM |
| Proccess Termination (Entry Point Scrambling?) | johnc | C Programming | 6 | 11-19-2002 06:22 PM |
| What a function entry point? | KoolGuy18 | C Programming | 1 | 11-01-2002 11:29 PM |