Click here to Skip to main content
15,896,153 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to parse xml (read/write xml file) in vc++ Pin
Hans Dietrich4-May-11 18:00
mentorHans Dietrich4-May-11 18:00 
AnswerRe: How to parse xml (read/write xml file) in vc++ Pin
వేంకటనారాయణ(venkatmakam)4-May-11 19:52
వేంకటనారాయణ(venkatmakam)4-May-11 19:52 
AnswerRe: How to parse xml (read/write xml file) in vc++ Pin
ShilpiP4-May-11 23:11
ShilpiP4-May-11 23:11 
QuestionInvalid class string when using CreateDispatch Pin
Member 29729924-May-11 12:20
Member 29729924-May-11 12:20 
AnswerRe: Invalid class string when using CreateDispatch Pin
Hans Dietrich4-May-11 18:02
mentorHans Dietrich4-May-11 18:02 
GeneralRe: Invalid class string when using CreateDispatch Pin
barneyman4-May-11 18:26
barneyman4-May-11 18:26 
AnswerRe: Invalid class string when using CreateDispatch Pin
Richard MacCutchan4-May-11 21:16
mveRichard MacCutchan4-May-11 21:16 
GeneralRe: Invalid class string when using CreateDispatch Pin
Member 29729924-May-11 22:19
Member 29729924-May-11 22:19 
Hi
I think it would be easier if I show you the relevant code snippet to see if you can assist me:

m_dispatch = new COLeDispatchDriver();
COleException comError;


if (m_dispatch->CreateDispatch(_T("99AA66456-082d-5b87-0df-51705603gdbd"), &comError))
{
//Do some stuff here
}
else
{
//trap error here
}

What I am seeing is that when it reaches the if condition it jumps to the else part an I see the error message "Invalid class string". From the examples I have seen I thought passing in the GUID in this way is correct. Is it?
GeneralRe: Invalid class string when using CreateDispatch Pin
Richard MacCutchan4-May-11 23:05
mveRichard MacCutchan4-May-11 23:05 
GeneralRe: Invalid class string when using CreateDispatch Pin
Member 29729925-May-11 0:04
Member 29729925-May-11 0:04 
GeneralRe: Invalid class string when using CreateDispatch Pin
Richard MacCutchan5-May-11 2:20
mveRichard MacCutchan5-May-11 2:20 
GeneralRe: Invalid class string when using CreateDispatch Pin
Member 29729925-May-11 10:25
Member 29729925-May-11 10:25 
GeneralRe: Invalid class string when using CreateDispatch Pin
Richard MacCutchan5-May-11 21:05
mveRichard MacCutchan5-May-11 21:05 
QuestionDestroying ModalDialog Pin
pix_programmer4-May-11 4:46
pix_programmer4-May-11 4:46 
AnswerRe: Destroying ModalDialog Pin
David Crow4-May-11 4:57
David Crow4-May-11 4:57 
AnswerRe: Destroying ModalDialog Pin
Albert Holguin4-May-11 5:14
professionalAlbert Holguin4-May-11 5:14 
AnswerRe: Destroying ModalDialog Pin
basementman4-May-11 5:59
basementman4-May-11 5:59 
Questionupcast Pin
Smith#4-May-11 4:25
Smith#4-May-11 4:25 
GeneralRe: upcast Pin
David Crow4-May-11 5:07
David Crow4-May-11 5:07 
GeneralRe: upcast Pin
Albert Holguin4-May-11 5:15
professionalAlbert Holguin4-May-11 5:15 
AnswerRe: upcast Pin
Albert Holguin4-May-11 5:19
professionalAlbert Holguin4-May-11 5:19 
GeneralRe: upcast Pin
Smith#4-May-11 5:30
Smith#4-May-11 5:30 
GeneralRe: upcast Pin
Albert Holguin4-May-11 5:34
professionalAlbert Holguin4-May-11 5:34 
GeneralRe: upcast Pin
Albert Holguin4-May-11 5:37
professionalAlbert Holguin4-May-11 5:37 
GeneralRe: upcast Pin
Stefan_Lang4-May-11 6:26
Stefan_Lang4-May-11 6:26 

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.