|
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
|