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.8K
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 Peter Leow 295
1 Mika Wendelius 275
2 CHill60 190
3 TheRealSteveJudge 180
4 Rob Philpott 130
0 Sergey Alexandrovich Kryukov 8,613
1 OriginalGriff 6,581
2 Peter Leow 3,962
3 Zoltán Zörgő 3,480
4 Richard MacCutchan 2,502


Advertise | Privacy | Mobile
Web01 | 2.8.150123.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