Problem with Event sending using ATL

H

Hilla

Hi,
Im trying to send an event from my ActiveX Dll that was written with
ATL and for some reason i dont see that the event is really sent... -
although it does get to the FIRE function.
I put breakpoints and i see that although its supposed to get to -
template <class T, const IID* piid, class CDV>
STDMETHODIMP IConnectionPointImpl<T, piid, CDV>::Advise(IUnknown*
pUnkSink,
DWORD* pdwCookie)
In ATLCOM.h
It doesnt get there!! and then it gets to the fire event with vector
size = 0 and so doesnt really send the event.
Thanks!
 
V

Victor Bazarov

Hilla said:
Im trying to send an event from my ActiveX Dll that was written with
ATL and for some reason i dont see that the event is really sent... -
although it does get to the FIRE function.
I put breakpoints and i see that although its supposed to get to -
template <class T, const IID* piid, class CDV>
STDMETHODIMP IConnectionPointImpl<T, piid, CDV>::Advise(IUnknown*
pUnkSink,
DWORD* pdwCookie)
In ATLCOM.h
It doesnt get there!! and then it gets to the fire event with vector
size = 0 and so doesnt really send the event.

Sorry, I failed to see a C++ language question in your post. Do you
have one? If not, you're probably better off posting to an ATL newsgroup
or an ActiveX newsgroup. Scan microsoft.public.* hierarchy for one that
looks appropriate and ask for more directions there.

V
 
R

red floyd

Hilla said:
sorry didnt mention that its written in c++

So? MineSweeper is written in C++. Does that mean that we should use
this forum to discuss MineSweeper?

ATL is very implementation specific. It was suggested that you look in
an MS specific newsgroup (look for the ones starting microsoft.public....).

Standard C++ has no notion of ATL or Events.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,183
Messages
2,570,966
Members
47,515
Latest member
Harvey7327

Latest Threads

Top