Click here to Skip to main content
15,922,407 members
Please Sign up or sign in to vote.
5.00/5 (4 votes)
See more:
Greetings.

I'm trying to communicate between desktop PC and Windows CE 5.0 device connected by usb (cradle).

I feel like I'm missing something obvious, because I can't find how to establish connection between them. What namespace to look? I just want simple communication: connect, exchange some data, disconnect. Sockets are more then enough, but what address should I access? The one assigned by usb connection on handheld is not accessible on desktop machine.

Communication should be initiated from desktop PC.
My handheld is running Windows CE 5.0 with .NET Compact Framework 2.0

Please point me to the right direction :)

Posted

Maybe take a look at the rapi.dll and see if it does what you need, you need to p/invoke the methodes.

Take a look here
And here
 
Share this answer
 
Activesync will do the trick for you, linked for you and everything.

If you are running Windows XP or earlier, download ActiveSync 4.5

http://www.microsoft.com/windowsmobile/en-us/help/synchronize/device-synch.mspx[^]
 
Share this answer
 


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900