Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > sink returning data via outgoing COM interface

Reply
Thread Tools

sink returning data via outgoing COM interface

 
 
Joe
Guest
Posts: n/a
 
      01-15-2007
Hi All,

I wrote a sink interface for a non-visual mail COM object to get hold
of the objects events.
A few of the events fired by the COM object takes a pointer to a
boolean as argument for the event.

Example: HRESULT CEventSink::OnSendStart(bool* bProceed)
This event for instance should cancel the send process if bProceed =
false and continue if bProceed = true
The default value of bProceed = true when the event is fired in my
sink.

The problem is this: It does not matter what you set the bProceed
argument to it continues with the default value.
It seems that COM object is unable to retrieve the value of bProceed
set in my sink interface.
The qustion know is: Does a outgoing COM interface supports data to be
returned to the COM object via the sink interface or not ? (Especially
as a argument by reference)

Any help would be appreciated.

Regards
joe

 
Reply With Quote
 
 
 
 
mlimber
Guest
Posts: n/a
 
      01-15-2007
Joe wrote:
> The qustion know is: Does a outgoing COM interface supports data to be
> returned to the COM object via the sink interface or not ? (Especially
> as a argument by reference)
>
> Any help would be appreciated.


The only help we can give is to point you to a newsgroup that deals
with COM. Here we talk about the standard C++ language. To find out
more about what is on-topic here and where you might post to get a
better answer, see this FAQ:

http://www.parashift.com/c++-faq-lit...t.html#faq-5.9

Cheers! --M

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Incoming traffic one interface and users outgoing on another usingPIX 515 ktstzo Cisco 0 10-13-2009 12:59 PM
need to lookup master interface that inherit IP address to unnumbered interface via SNMP tua Cisco 0 10-30-2007 12:30 PM
Bypassing ingoing-outgoing limit interface. AM Cisco 6 03-16-2005 11:09 PM
Using custom sink and cookies from ASP.NET application =?Utf-8?B?b3R0bw==?= ASP .Net 1 12-21-2004 05:49 PM
time sink?? Terry Lynton Computer Support 2 04-07-2004 06:17 PM



Advertisments