Click here to Skip to main content
15,913,610 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionsystem menu attachment Pin
storyera_storyera3-Nov-06 20:45
storyera_storyera3-Nov-06 20:45 
AnswerRe: system menu attachment Pin
DaTxomin3-Nov-06 22:14
DaTxomin3-Nov-06 22:14 
Questionproblem with AfxBeginThread Pin
mt_samiei3-Nov-06 19:43
mt_samiei3-Nov-06 19:43 
AnswerRe: problem with AfxBeginThread Pin
tanvon malik3-Nov-06 20:09
tanvon malik3-Nov-06 20:09 
GeneralRe: problem with AfxBeginThread Pin
mt_samiei3-Nov-06 20:24
mt_samiei3-Nov-06 20:24 
AnswerRe: problem with AfxBeginThread Pin
mt_samiei3-Nov-06 20:12
mt_samiei3-Nov-06 20:12 
QuestionCoCreateInstance giving problem Pin
shadrach_india3-Nov-06 18:28
shadrach_india3-Nov-06 18:28 
AnswerRe: CoCreateInstance giving problem Pin
tanvon malik3-Nov-06 18:53
tanvon malik3-Nov-06 18:53 
why not use this way
CoGetClassObject(rclsid, dwClsContext, NULL, IID_IClassFactory, &pCF); 
hresult = pCF->CreateInstance(pUnkOuter, riid, ppvObj) 
pCF->Release(); 


just to call
CoGetClassObject(rclsid, dwClsContext, NULL, IID_IClassFactory, &pCF);
first time it will ensure the dll loading.
then whenever you want to create an instance just call
hresult = pCF->CreateInstance(pUnkOuter, riid, ppvObj)

tanvon

I Blog here my VC++
My all articles at codeproject
here

GeneralRe: CoCreateInstance giving problem Pin
shadrach_india3-Nov-06 19:02
shadrach_india3-Nov-06 19:02 
Questiondroplist combo box Pin
cyn83-Nov-06 18:06
cyn83-Nov-06 18:06 
AnswerRe: droplist combo box Pin
tanvon malik3-Nov-06 19:12
tanvon malik3-Nov-06 19:12 
AnswerRe: droplist combo box Pin
David Crow5-Nov-06 7:06
David Crow5-Nov-06 7:06 
QuestionHow to create a SDI application like Notepad in Win 32 API Pin
xinchaomoinguoi3-Nov-06 16:49
xinchaomoinguoi3-Nov-06 16:49 
AnswerRe: How to create a SDI application like Notepad in Win 32 API [modified] Pin
Benlahrech .Dj4-Nov-06 6:18
Benlahrech .Dj4-Nov-06 6:18 
Questionhow to change Internet settings in LAN/VPN connection Pin
Benlahrech .Dj3-Nov-06 16:45
Benlahrech .Dj3-Nov-06 16:45 
Questionnewbie needs help Pin
icemelt(newbie)3-Nov-06 15:22
icemelt(newbie)3-Nov-06 15:22 
AnswerRe: newbie needs help Pin
George L. Jackson3-Nov-06 16:54
George L. Jackson3-Nov-06 16:54 
GeneralRe: newbie needs help Pin
icemelt(newbie)3-Nov-06 17:59
icemelt(newbie)3-Nov-06 17:59 
GeneralRe: newbie needs help Pin
George L. Jackson4-Nov-06 3:33
George L. Jackson4-Nov-06 3:33 
AnswerRe: newbie needs help Pin
Benlahrech .Dj3-Nov-06 17:09
Benlahrech .Dj3-Nov-06 17:09 
QuestionAccess control from a user defined class (Dialog based application) Pin
cy163@hotmail.com3-Nov-06 11:23
cy163@hotmail.com3-Nov-06 11:23 
AnswerRe: Access control from a user defined class (Dialog based application) Pin
Mark Salsbery3-Nov-06 12:12
Mark Salsbery3-Nov-06 12:12 
AnswerRe: Access control from a user defined class (Dialog based application) Pin
nguyenvhn3-Nov-06 15:54
nguyenvhn3-Nov-06 15:54 
QuestionString Assignment Pin
abhiramsss3-Nov-06 9:17
abhiramsss3-Nov-06 9:17 
AnswerRe: String Assignment Pin
Christian Graus3-Nov-06 9:31
protectorChristian Graus3-Nov-06 9:31 

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.