A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Inconsistent syncObjectEvents behaviorş



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old August 29th 08, 06:24 PM posted to microsoft.public.outlook.program_addins
Exchnerd
external usenet poster
 
Posts: 19
Default Inconsistent syncObjectEvents behaviorş

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.
Ads
  #2  
Old September 2nd 08, 10:08 PM posted to microsoft.public.outlook.program_addins
Exchnerd
external usenet poster
 
Posts: 19
Default Inconsistent syncObjectEvents behaviorş

On Aug 29, 10:24*am, Exchnerd wrote:
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 :-)
 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Created searches inconsistent Paul[_12_] Outlook - General Queries 6 August 13th 08 04:50 PM
Inconsistent color of cited links Bob Fliegel Outlook Express 6 January 27th 07 01:06 PM
Inconsistent autocomplete results CL Outlook - General Queries 4 December 9th 06 08:49 AM
Inconsistent contacts Richard Outlook - Using Contacts 2 August 30th 06 08:45 PM
inconsistent in Redemption Vadivel Outlook and VBA 10 April 25th 06 06:12 PM


All times are GMT +1. The time now is 09:25 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.