Click here to Skip to main content
15,915,864 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
AnswerRe: How to using the second IDispatch of a COM object in VBScript Pin
30-Dec-02 3:26
suss30-Dec-02 3:26 
AnswerRe: How to using the second IDispatch of a COM object in VBScript Pin
pba_30-Dec-02 4:20
pba_30-Dec-02 4:20 
GeneralRe: How to using the second IDispatch of a COM object in VBScript Pin
bojinyu30-Dec-02 14:07
bojinyu30-Dec-02 14:07 
GeneralRe: How to using the second IDispatch of a COM object in VBScript Pin
pba_2-Jan-03 4:39
pba_2-Jan-03 4:39 
GeneralATL & OLE Pin
Paul Silvernail27-Dec-02 17:51
Paul Silvernail27-Dec-02 17:51 
GeneralRe: ATL & OLE Pin
AlexO30-Dec-02 3:58
AlexO30-Dec-02 3:58 
GeneralRe: ATL & OLE Pin
Jörgen Sigvardsson17-Jan-03 12:31
Jörgen Sigvardsson17-Jan-03 12:31 
GeneralProblem with ConnectionPoints... Pin
Anders Molin27-Dec-02 15:16
professionalAnders Molin27-Dec-02 15:16 
I'm using a COM Object that have a ConnectionPoint (event) that looks like this:
void RecognitionStoppedEvent(
                            RecognitionType RType, 
                            ReasonType Reason, 
                            IKVSet* RecResult);


Then I use a class that inherits from IDispatchImpl to receive the event.

Everything works fine, except I cant use the IKVSet*, I get an exception and the function just exists Cry | :((

An IKVset's IDL looks like this: interface IKVSet : IDispatch {code....}

I use this "definition" in my implementation of the event, but I'm not exactly sure about the VT_DISPATCH, is this the right varenum?

static _ATL_FUNC_INFO OnRecognitionStoppedEventInfo = {CC_STDCALL, VT_EMPTY, 3, {VT_I4, VT_I4, VT_DISPATCH}};


- Anders

Money talks, but all mine ever says is "Goodbye!"
GeneralRe: Problem with ConnectionPoints... Pin
Michael Dunn27-Dec-02 18:36
sitebuilderMichael Dunn27-Dec-02 18:36 
GeneralRe: Problem with ConnectionPoints... Pin
Anders Molin28-Dec-02 0:22
professionalAnders Molin28-Dec-02 0:22 
GeneralRe: Problem with ConnectionPoints... Pin
Vi230-Dec-02 1:24
Vi230-Dec-02 1:24 
GeneralCAxDialogImpl<> questions Pin
Paul Silvernail27-Dec-02 14:25
Paul Silvernail27-Dec-02 14:25 
GeneralRe: CAxDialogImpl<> questions Pin
Michael Dunn27-Dec-02 14:55
sitebuilderMichael Dunn27-Dec-02 14:55 
GeneralVS.NET: Use of ATL Pin
Paul Selormey25-Dec-02 14:54
Paul Selormey25-Dec-02 14:54 
GeneralRe: VS.NET: Use of ATL Pin
Anonymous26-Dec-02 2:29
Anonymous26-Dec-02 2:29 
GeneralQueryInterface Pin
qur23-Dec-02 8:15
qur23-Dec-02 8:15 
GeneralRe: QueryInterface Pin
Tim Smith23-Dec-02 8:20
Tim Smith23-Dec-02 8:20 
GeneralConfuse about AddRef / Release. Pin
qur23-Dec-02 8:10
qur23-Dec-02 8:10 
GeneralRe: Confuse about AddRef / Release. Pin
Michael Dunn23-Dec-02 20:11
sitebuilderMichael Dunn23-Dec-02 20:11 
GeneralRe: Confuse about AddRef / Release. Pin
qur23-Dec-02 20:52
qur23-Dec-02 20:52 
GeneralRe: Confuse about AddRef / Release. Pin
Nick Parker25-Dec-02 17:18
protectorNick Parker25-Dec-02 17:18 
GeneralRe: Confuse about AddRef / Release. Pin
pba_26-Dec-02 4:31
pba_26-Dec-02 4:31 
GeneralRe: Confuse about AddRef / Release. Pin
qur26-Dec-02 6:41
qur26-Dec-02 6:41 
GeneralRe: Confuse about AddRef / Release. Pin
pba_26-Dec-02 10:12
pba_26-Dec-02 10:12 
GeneralInsert into map without lookup Pin
peterchen23-Dec-02 4:47
peterchen23-Dec-02 4:47 

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.