Click here to Skip to main content
15,916,318 members
Home / Discussions / COM
   

COM

 
GeneralRe: Interface problem with MF Dialog app. + COM object Pin
Stephane Rodriguez.13-Aug-03 23:13
Stephane Rodriguez.13-Aug-03 23:13 
Generalhelp for directx Pin
includeh1013-Aug-03 7:51
includeh1013-Aug-03 7:51 
Generalprogramming autocad : GetAttributes Pin
JP GOBLET12-Aug-03 6:29
JP GOBLET12-Aug-03 6:29 
GeneralRe: programming autocad : GetAttributes Pin
Steve S12-Aug-03 22:11
Steve S12-Aug-03 22:11 
GeneralRe: programming autocad : GetAttributes Pin
JP GOBLET12-Aug-03 22:52
JP GOBLET12-Aug-03 22:52 
GeneralRe: programming autocad : GetAttributes Pin
Steve S12-Aug-03 23:38
Steve S12-Aug-03 23:38 
GeneralRe: programming autocad : GetAttributes Pin
JP GOBLET13-Aug-03 0:28
JP GOBLET13-Aug-03 0:28 
GeneralRe: programming autocad : GetAttributes Pin
Steve S13-Aug-03 0:40
Steve S13-Aug-03 0:40 
One step forwards, two steps back.
This is generally due to a mismatch of __cdecl and __stdcall. COM methods are generally (always?) __stdcall, I think. At this point, I'd probably put a breakpoint on the strTag = ... line and then step in using the assembly view, to make sure the interface/vtable in pAttribRef was really OK.

Where are your definitions of the AutoCAD stuff coming from? Presumably you've '#import'-ed a typelib or DLL?

Steve S
GeneralRe: programming autocad : GetAttributes Pin
JP GOBLET13-Aug-03 1:15
JP GOBLET13-Aug-03 1:15 
GeneralRe: programming autocad : GetAttributes Pin
JP GOBLET18-Aug-03 6:17
JP GOBLET18-Aug-03 6:17 
GeneralRe: programming autocad : GetAttributes Pin
JP GOBLET18-Aug-03 6:46
JP GOBLET18-Aug-03 6:46 
GeneralRe: programming autocad : GetAttributes Pin
JP GOBLET18-Aug-03 21:23
JP GOBLET18-Aug-03 21:23 
GeneralRe: programming autocad : GetAttributes Pin
Steve S18-Aug-03 22:09
Steve S18-Aug-03 22:09 
GeneralRe: programming autocad : GetAttributes Pin
JP GOBLET19-Aug-03 0:25
JP GOBLET19-Aug-03 0:25 
GeneralRe: programming autocad : GetAttributes Pin
Steve S19-Aug-03 0:38
Steve S19-Aug-03 0:38 
GeneralRe: programming autocad : GetAttributes Pin
Steve S19-Aug-03 0:44
Steve S19-Aug-03 0:44 
GeneralRe: programming autocad : GetAttributes Pin
JP GOBLET19-Aug-03 2:58
JP GOBLET19-Aug-03 2:58 
GeneralRe: programming autocad : GetAttributes Pin
JP GOBLET19-Aug-03 3:44
JP GOBLET19-Aug-03 3:44 
GeneralRe: programming autocad : GetAttributes Pin
JP GOBLET19-Aug-03 4:02
JP GOBLET19-Aug-03 4:02 
GeneralRe: programming autocad : GetAttributes Pin
Steve S19-Aug-03 4:37
Steve S19-Aug-03 4:37 
QuestionWhat is wrong with this code!!! Pin
adsilva12-Aug-03 0:36
adsilva12-Aug-03 0:36 
AnswerRe: What is wrong with this code!!! Pin
Stephane Rodriguez.12-Aug-03 0:51
Stephane Rodriguez.12-Aug-03 0:51 
AnswerRe: What is wrong with this code!!! Pin
Steve S12-Aug-03 0:51
Steve S12-Aug-03 0:51 
GeneralRe: What is wrong with this code!!! Pin
Stephane Rodriguez.12-Aug-03 1:00
Stephane Rodriguez.12-Aug-03 1:00 
GeneralRe: What is wrong with this code!!! Pin
Steve S12-Aug-03 1:01
Steve S12-Aug-03 1:01 

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.