Inconsistent syncObjectEvents behaviorþ

E

Exchnerd

Hi all,

I have a callback for SyncObjectEvents in my outlook plugin. MSDN and
blogs say that one cannot register for the callbacks when Outlook
syncs or does a Send/Receive but can only when one is started
programmatically. However, I've had a few observations and appreciate
your comments on it -

I disable my n/w connectivity to generate an onError callback during a
sync. This works fine. But when I enable the n/w and initiate a sync
or send/receive, outlook still invokes the onError handler but this
time with no value in the Description parameter. I am unable to
distinguish because the description parameter sometimes has a text
during a real error condition and it sometimes does not. (I was trying
to concur that it is connected if the description param is NULL but
has a valid error code)

Is this a known issue? Any clues please??

I am trying to be notified when Outlooks looses connectivity and then
again when it gains.
 
E

Exchnerd

Hi all,

I have a callback for SyncObjectEvents in my outlook plugin. MSDN and
blogs say that one cannot register for the callbacks when Outlook
syncs or does a Send/Receive but can only when one is started
programmatically. However, I've had a few observations and appreciate
your comments on it -

I disable my n/w connectivity to generate an onError callback during a
sync. This works fine. But when I enable the n/w and initiate a sync
or send/receive, outlook still invokes the onError handler but this
time with no value in the Description parameter. I am unable to
distinguish because the description parameter sometimes has a text
during a real error condition and it sometimes does not. (I was trying
to concur that it is connected if the description param is NULL but
has a valid error code)

Is this a known issue? Any clues please??

I am trying to be notified when Outlooks looses connectivity and then
again when it gains.

Now, checking the OlExchangeConnectionMode to get the exact status :)
 

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

Top