Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: .NETCF .NET
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 Smile | :)

Posted 7-Aug-09 2:23am
Deflinek4.5K
Rate this: bad
good
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
  Permalink  
Rate this: bad
good
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
 
http://www.microsoft.com/windowsmobile/en-us/help/synchronize/device-synch.mspx[^]
  Permalink  
  Print Answers RSS
0 OriginalGriff 400
1 Jochen Arndt 190
2 Richard MacCutchan 135
3 DamithSL 95
4 Garth J Lancaster 90
0 OriginalGriff 6,045
1 DamithSL 4,601
2 Maciej Los 4,032
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,220


Advertise | Privacy | Mobile
Web02 | 2.8.141220.1 | Last Updated 8 Sep 2010
Copyright © CodeProject, 1999-2014
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