Re: Delay in IMAPIAdviseSink::onNotify

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Do you share the session by calling MAPILogonEx or by retrieving
Namespace.MAPIOBJECT (which is IMAPISession) from OOM?
Did you try to cause an RPC by retrieving PT_TEST_LINE_SPEED property from
the message store?

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Petr Nehez" <"nehez _at_ timemaker _dot_ org"> wrote in message
news:pbadnSArGuRDnVTZRVny3g@xxxxxxxxxxxxxxx
Dan Mitchell wrote:
Petr Nehez <"nehez _at_ timemaker _dot_ org"> wrote in
news:UrGdnUqlMsQ3WlXZRVnyhw@xxxxxxxxxxxx:
I have a problem with notifications on OL2003 in non-chached mode, I get
the notification with the delay. Where is the problem?

Do you mean "delay", ie your OnNotify method gets called some time after
the event has happened (and if so, how long is the delay?), or is it just
that you're missing the first notification after setting up the advise
sink? If the second problem, see http://support.microsoft.com/kb/q190413/

I've probably discovered the problem. It might be that I have change
something in Outlook - I've connected to Outlook's session as shared
session - but in my app I get with delay about 60 seconds.

So that I have some question: Is it stupid to combine MAPI calls and OOM
calls?

Petr


.



Relevant Pages

  • Re: Session object gone!
    ... Are you sure you're retrieving any data? ... If you retrive Nothing, and store ... it in Session, you will get the result you've described. ... > When I return to the calling routine my Session object is gone!! ...
    (microsoft.public.dotnet.framework.aspnet)
  • =?iso-8859-1?Q?Re:_UK_XRC_Support?=
    ... once a defined threshold is reached for a consistency delay ... If it is a coupled session, it looks to see if it is the other session ... Why this would be classed as IBM ... For IBM-MAIN subscribe / signoff / archive access instructions, ...
    (bit.listserv.ibm-main)
  • Idle time in a T.S. session - how to get it?
    ... allow for the idle time for a session to be retrieved. ... Terminal Services Manager is capable of retrieving & displaying this ... Is there an undocumented information class that can be used to obtain this ... Chuck Chopp ...
    (microsoft.public.win32.programmer.kernel)
  • Re: W2K3 SP1 Terminal Server Odd Session Ending Behavior
    ... > minute delay when the user exits the program and the session is ... > users with existing profiles that auto run the same application. ... > new users profile but I still ended up with the delay. ...
    (microsoft.public.windows.terminal_services)
  • Re: Session object gone!
    ... > Are you sure you're retrieving any data? ... If you retrive Nothing, and store ... > it in Session, you will get the result you've described. ... >> When I return to the calling routine my Session object is gone!! ...
    (microsoft.public.dotnet.framework.aspnet)