Click here to Skip to main content
16,012,759 members
Home / Discussions / COM
   

COM

 
QuestionCOM API ???? Pin
Ayyaz10-Aug-02 0:48
Ayyaz10-Aug-02 0:48 
AnswerRe: COM API ???? Pin
Giles10-Aug-02 2:03
Giles10-Aug-02 2:03 
AnswerRe: COM API ???? Pin
Anonymous14-Aug-02 7:32
Anonymous14-Aug-02 7:32 
Generalvector of smart pointers Pin
Jeremy Pullicino8-Aug-02 21:48
Jeremy Pullicino8-Aug-02 21:48 
GeneralRe: vector of smart pointers Pin
NormDroid10-Aug-02 0:56
professionalNormDroid10-Aug-02 0:56 
GeneralRe: vector of smart pointers Pin
Paul M Watt15-Aug-02 20:11
mentorPaul M Watt15-Aug-02 20:11 
GeneralIShellView without creating a namespace Pin
Jonatan Dahl8-Aug-02 15:24
Jonatan Dahl8-Aug-02 15:24 
Generaltype mismatch Pin
Lily188-Aug-02 4:06
Lily188-Aug-02 4:06 
I have a method in a activeX dll ( created in VB)
My program is in VC6:
I used #import to link with the DLL.
virtual HRESULT __stdcall TimeZone (<br />
        BSTR mstrPlant,<br />
        long mlngTime,<br />
        long * mlngTimeDifference,<br />
        enum ConneBD enmConneBD,<br />
        struct _clsErr * * _arg5 ) = 0;

It is declared like that in .tlh


I call it this way:
time_t *ltime;<br />
	long * timeDiff;<br />
	ltime = new time_t();<br />
	timeDiff = new long();<br />
	*ltime = 0;<br />
	*timeDiff = 0;<br />
	time( ltime );<br />
struct _clsErr *m_E;<br />
hresult = m_t->TimeZone(OLESTR"01"),*ltime,timeDiff,BD_OR,&m_E);


hresult tells me that every thing worked fine but timeDiff return empty.
I get "type dismatch" from the struc _clsErr..
My parameter's types seem ok..
Can somebody see what I'm doing wrong?




thanks,
Lily
GeneralRe: type mismatch Pin
Anonymous15-Aug-02 17:02
Anonymous15-Aug-02 17:02 
GeneralIContextMenu copy in app to Explorer Pin
Null_Vector7-Aug-02 14:26
Null_Vector7-Aug-02 14:26 
GeneralRe: IContextMenu copy in app to Explorer Pin
Null_Vector9-Aug-02 0:24
Null_Vector9-Aug-02 0:24 
Generalneed help for CoInitializeEx(..) Pin
Jawid7-Aug-02 5:23
Jawid7-Aug-02 5:23 
GeneralRe: need help for CoInitializeEx(..) Pin
Mark Janveaux7-Aug-02 13:03
Mark Janveaux7-Aug-02 13:03 
GeneralPassing an interface through an ATL interface Pin
HawkSoftware6-Aug-02 10:36
HawkSoftware6-Aug-02 10:36 
GeneralRe: Passing an interface through an ATL interface Pin
Mark Janveaux6-Aug-02 13:01
Mark Janveaux6-Aug-02 13:01 
GeneralRe: Passing an interface through an ATL interface Pin
HawkSoftware6-Aug-02 15:46
HawkSoftware6-Aug-02 15:46 
GeneralRe: Passing an interface through an ATL interface Pin
Mark Janveaux6-Aug-02 17:45
Mark Janveaux6-Aug-02 17:45 
GeneralAdding MFC to existing COM Server DLL Pin
b_p_smith6-Aug-02 4:23
b_p_smith6-Aug-02 4:23 
GeneralRe: Adding MFC to existing COM Server DLL Pin
Anonymous7-Aug-02 23:59
Anonymous7-Aug-02 23:59 
GeneralRe: Adding MFC to existing COM Server DLL Pin
b_p_smith8-Aug-02 3:30
b_p_smith8-Aug-02 3:30 
GeneralRe: Adding MFC to existing COM Server DLL Pin
Vi29-Aug-02 1:36
Vi29-Aug-02 1:36 
GeneralReturning a dispinterface from VC to VB Pin
Jon Taylor5-Aug-02 11:06
Jon Taylor5-Aug-02 11:06 
GeneralRe: Returning a dispinterface from VC to VB Pin
Vi26-Aug-02 2:14
Vi26-Aug-02 2:14 
Generalhelp needed...!!! Pin
drmzunlimited5-Aug-02 7:43
drmzunlimited5-Aug-02 7:43 
QuestionConnect to external InProc Server ? Pin
Mark Janveaux4-Aug-02 20:45
Mark Janveaux4-Aug-02 20:45 

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.