sink returning data via outgoing COM interface
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
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.
Re: sink returning data via outgoing COM 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.
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:
|All times are GMT. The time now is 02:21 PM.|
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.