Click here to get back home

ActiveSync 4 Connection notification issues

 HomeNewsGroups | Search | About
 microsoft.public.pocketpc.activesync    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
ActiveSync 4 Connection notification issues MCampan 12-16-2005
Posted by MCampan on December 16, 2005, 5:08 am
Please log in for more thread options
Hi,

I'm using IDccMan and IDccManSink interfaces to monitor ActiveSync
connection and this works on ActiveSync versions prior to 4.0. With
ActiveSync 4.0 and 4.1 It works as long as I use only one instance of IDccMan
across my application lifetime but when I register and unregister multiple
times to receive notification the things begin to mess up. Here is what
happens:

<< WM5 PPC is connected with ActiveSync4 >>
CoInitializeEx
Create IDccMan and call Advice method with IDccManSink implementation
---- process connection notifications: receive connected and IP notifications.
Call Unadvice
Call Release on IDccMan
CoUninitialize
<< My application makes some processing>>
<< WM5 PPC is disconnected with ActiveSync4 >>
CoInitializeEx
Create IDccMan and call Advice method with IDccManSink implementation
---- process connection notifications: receive connected and IP
notifications even though the WM5 PPC is disconnected. If I call
CeRapiInitEx, the call doesn't return, just hangs.
....

Any help would be appreciated.

Thank you
Marius

Similar ThreadsPosted
Activesync 4.1 and imate JasJar connection issues April 4, 2006, 10:00 pm
Still Having WMDC Connection Issues? March 7, 2007, 12:56 am
Microsoft - Please fix connection issues before releasing 4.2 May 22, 2006, 2:17 pm
Vista HP: Windows CE connection issues September 29, 2008, 4:13 am
ActiveSync <> Email Notification I March 23, 2006, 7:32 am
ActiveSync <> Email Notification II March 23, 2006, 7:33 am
In my case 4.2 beta solved connection issues June 26, 2006, 6:32 pm
Outlook E-Mail notification February 2, 2007, 4:25 pm
Password expiry notification on PocketPC October 4, 2005, 12:47 pm
How to get a notification when a new appointment is added to your calendar (by EAS)? May 8, 2008, 3:16 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap