Click here to Skip to main content
15,912,504 members
Home / Discussions / COM
   

COM

 
GeneralQueryInterface( ..., void** ppv) Pin
3-Dec-01 9:26
suss3-Dec-01 9:26 
GeneralRe: QueryInterface( ..., void** ppv) Pin
Bill Wilson3-Dec-01 10:45
Bill Wilson3-Dec-01 10:45 
GeneralRe: QueryInterface( ..., void** ppv) Pin
Shadi Al-Kahwaji9-Dec-01 22:41
Shadi Al-Kahwaji9-Dec-01 22:41 
GeneralAutomatisation question - need hint Pin
Harald Krause2-Dec-01 6:25
Harald Krause2-Dec-01 6:25 
GeneralRe: Automatisation question - need hint Pin
David Stranz3-Dec-01 6:53
David Stranz3-Dec-01 6:53 
Generalpassing connection points parameters by ref Pin
SPENNER1-Dec-01 8:38
SPENNER1-Dec-01 8:38 
GeneralRe: passing connection points parameters by ref Pin
Anders Molin1-Dec-01 10:56
professionalAnders Molin1-Dec-01 10:56 
GeneralRe: passing connection points parameters by ref Pin
SPENNER1-Dec-01 11:38
SPENNER1-Dec-01 11:38 
That's odd...

Because, and I know this isn't the best example, but if I create a quick COM object with VB and define an outgoing interface with a byref parameter, it works great. The resulting IDL is below:
[id(0x00000001)]
void TestEvent(
[in] short eventByVal,
[in, out] short* eventAsRef,
[in, out] VARIANT_BOOL* eventBoolRef);

So, I'm thinking there must be a C++/ATL equivalent, but I can't figure it out...I know I could use a call back interface, but using a connection point would make it more straight forward from the client side...

Any idea how to get this to work?


__scott
GeneralRe: passing connection points parameters by ref Pin
Anders Molin1-Dec-01 12:50
professionalAnders Molin1-Dec-01 12:50 
GeneralRe: passing connection points parameters by ref Pin
Michael P Butler2-Dec-01 1:54
Michael P Butler2-Dec-01 1:54 
GeneralRe: passing connection points parameters by ref Pin
SPENNER2-Dec-01 9:51
SPENNER2-Dec-01 9:51 
GeneralRe: passing connection points parameters by ref Pin
Anders Molin2-Dec-01 10:55
professionalAnders Molin2-Dec-01 10:55 
GeneralRe: passing connection points parameters by ref Pin
SPENNER4-Dec-01 7:56
SPENNER4-Dec-01 7:56 
GeneralRe: passing connection points parameters by ref Pin
Anders Molin4-Dec-01 8:11
professionalAnders Molin4-Dec-01 8:11 
GeneralUsing ActiveX Object inside ATL COM Object... Please Help Pin
Matt Philmon30-Nov-01 18:37
Matt Philmon30-Nov-01 18:37 
GeneralWinXP Pin
Gfw30-Nov-01 2:39
Gfw30-Nov-01 2:39 
QuestionHow to version an ActiveX dll? Pin
David Stranz29-Nov-01 13:19
David Stranz29-Nov-01 13:19 
GeneralActiveX & Threads...gettin' Funky - Check this Out. Pin
Tim Rymer28-Nov-01 11:29
Tim Rymer28-Nov-01 11:29 
GeneralRe: ActiveX & Threads...gettin' Funky - Check this Out. Pin
Anders Molin30-Nov-01 23:40
professionalAnders Molin30-Nov-01 23:40 
GeneralRe: ActiveX & Threads...gettin' Funky - Check this Out. Pin
Ali Issa6-Dec-01 3:34
Ali Issa6-Dec-01 3:34 
GeneralVB Client: can't see inner aggregated COM object interface Pin
28-Nov-01 5:36
suss28-Nov-01 5:36 
GeneralPassing SAFEARRAYS through COM events Pin
Rick Dangerous28-Nov-01 2:07
Rick Dangerous28-Nov-01 2:07 
GeneralRe: Passing SAFEARRAYS through COM events Pin
Rashid Thadha4-Dec-01 10:39
Rashid Thadha4-Dec-01 10:39 
GeneralRe: Passing SAFEARRAYS through COM events Pin
Rick Dangerous6-Dec-01 6:23
Rick Dangerous6-Dec-01 6:23 
GeneralRe: Passing SAFEARRAYS through COM events Pin
Rashid Thadha6-Dec-01 11:43
Rashid Thadha6-Dec-01 11:43 

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.