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

C / C++ / MFC

 
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 
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 
Hi
Sorry for not getting back to you, but I did use your solution and yes you are right it did work. Please excuse me but I am very new to C++!!

However, I have hit another problem whilst I can call my C# COM object it throws an error it says "the file or assembly xxxxxx cannot be loaded or one of its dependencies. The file sepecified can be found". In my C# COM object I am referencing another class, which itself references another class. When I compiled the C# COM Object, the bin file has the other classes as dlls are present.

What am I doing wrong here? I have to be careful here because the referenced referenced class is used elsewhere in the other project. So, I am not sure whether adding a strong key and registering it would break the program elsewhere.

Can you help?

Thanks
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 
AnswerRe: upcast Pin
Stefan_Lang4-May-11 5:29
Stefan_Lang4-May-11 5:29 
GeneralRe: upcast Pin
Smith#4-May-11 6:03
Smith#4-May-11 6:03 
GeneralRe: upcast Pin
Albert Holguin4-May-11 7:15
professionalAlbert Holguin4-May-11 7:15 
QuestionDebug OK, Release wrong after run 59times Pin
bopi4-May-11 4:17
bopi4-May-11 4:17 

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.