IDccMan->Advise call hangs when device is connected to PC

P

PR

I am trying to use the COM interfaces IDccMan and IDccManSink to register my
desktop program to receive notifiations when the device (Pocket PC) is
connected or disconnected to the PC. I do this by calling the Advise method
of IDccMan interface. It works fine if the device is not connected to the
PC when the call (Advise) is made. I get notifications properly. But if I
try to register when a device is connected to the PC, the IDccMan->Advise
call hangs. Any help is appreciated. Thanks.

PR
 
G

Guest

You get the same with the OpenNETCF Communication class? What version of
ActiveSync?

-Chris
 
P

PR

I am working with ActiveSync 3.8. This code runs on the desktop PC. I am
not using OpenNetCF. Thanks.

PR
 
G

Guest

Just as a start try the OpenNETCF stuff just to see if it gives the same
behavior. ActiveSync's behavior seems to change with every version. If
both libraries give the same behavior, then you know it's AS, not your code.

-Chris
 

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