views:

585

answers:

2

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

A: 

Hmm it appears that mobile device won't popup in FileOpenDialog.

Use Rapi? http://social.msdn.microsoft.com/Forums/en-US/vssmartdevicesvbcs/thread/4826aa50-f206-499e-b115-584c3f058f8a

or check this

PoweRoy
A: 

Do you have ActiveSync connection with the device. If you do, use OpenNETCF desktop communication. It is exatly what you are looking for.

Shaihi
I found that library, but can only use it to create and read files on CE device. It is hardly "communication" but luckily requirements of project changed and it is sufficient :)I'm still looking for a way to "on-line" talk with connected device.