Click here to Skip to main content
11,932,048 members (56,133 online)
Rate this:
Please Sign up or sign in to vote.
See more: .NETCF .NET

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 Smile | :)

Posted 7-Aug-09 2:23am
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

Activesync will do the trick for you, linked for you and everything.

If you are running Windows XP or earlier, download ActiveSync 4.5[^]
  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web03 | 2.8.151126.1 | Last Updated 8 Sep 2010
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100