Click here to Skip to main content
15,911,890 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Don't understand what's required in order to use unmgd c++ class in c# app - help? Pin
sherifffruitfly21-Jul-07 11:16
sherifffruitfly21-Jul-07 11:16 
QuestionRegistry settings for all users (with user privileges) [modified] Pin
AnTri21-Jul-07 6:12
AnTri21-Jul-07 6:12 
AnswerRe: Registry settings for all users (with user privileges) Pin
Michael Dunn21-Jul-07 10:04
sitebuilderMichael Dunn21-Jul-07 10:04 
AnswerRe: Registry settings for all users (with user privileges) Pin
Mark Salsbery21-Jul-07 11:06
Mark Salsbery21-Jul-07 11:06 
QuestionSplit string Pin
dellthinker21-Jul-07 5:05
dellthinker21-Jul-07 5:05 
AnswerRe: Split string Pin
Mark Salsbery21-Jul-07 5:19
Mark Salsbery21-Jul-07 5:19 
AnswerRe: Split string Pin
#realJSOP22-Jul-07 0:34
professional#realJSOP22-Jul-07 0:34 
QuestionMSDN OLE DB Sample Provider entry point Pin
George_George21-Jul-07 3:34
George_George21-Jul-07 3:34 
Hello everyone,


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
QuestionAfxRegisterClass - dialog based app problem Pin
john john mackey21-Jul-07 3:08
john john mackey21-Jul-07 3:08 
AnswerRe: AfxRegisterClass - dialog based app problem Pin
Arman S.21-Jul-07 5:15
Arman S.21-Jul-07 5:15 
AnswerRe: AfxRegisterClass - dialog based app problem Pin
Mark Salsbery21-Jul-07 5:46
Mark Salsbery21-Jul-07 5:46 
GeneralRe: AfxRegisterClass - dialog based app problem Pin
john john mackey21-Jul-07 16:50
john john mackey21-Jul-07 16:50 
QuestionProblem about CPU resouce Pin
kcynic21-Jul-07 2:14
kcynic21-Jul-07 2:14 
QuestionRe: Problem about CPU resouce Pin
Mark Salsbery21-Jul-07 5:50
Mark Salsbery21-Jul-07 5:50 
AnswerRe: Problem about CPU resouce Pin
kcynic21-Jul-07 15:06
kcynic21-Jul-07 15:06 
GeneralRe: Problem about CPU resouce Pin
Mark Salsbery21-Jul-07 15:37
Mark Salsbery21-Jul-07 15:37 
GeneralRe: Problem about CPU resouce Pin
kcynic21-Jul-07 16:26
kcynic21-Jul-07 16:26 
GeneralRe: Problem about CPU resouce Pin
Mark Salsbery21-Jul-07 19:21
Mark Salsbery21-Jul-07 19:21 
GeneralRe: Problem about CPU resouce Pin
kcynic21-Jul-07 21:20
kcynic21-Jul-07 21:20 
GeneralRe: Problem about CPU resouce Pin
Mark Salsbery22-Jul-07 7:44
Mark Salsbery22-Jul-07 7:44 
Question860430 - overrided operator delete is not called Pin
ilostmyid221-Jul-07 0:00
professionalilostmyid221-Jul-07 0:00 
Questionhow to build a cylinder ? Pin
gentleguy20-Jul-07 23:41
gentleguy20-Jul-07 23:41 
QuestionC runtime library Pin
vipin_nvk20-Jul-07 23:34
vipin_nvk20-Jul-07 23:34 
AnswerRe: C runtime library Pin
Matthew Faithfull21-Jul-07 4:46
Matthew Faithfull21-Jul-07 4:46 
QuestionList View Pin
nitin320-Jul-07 18:35
nitin320-Jul-07 18:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.