Click to See Complete Forum and Search --> : Communication with Pocket PC


Mundi
June 13th, 2002, 04:08 AM
I have made a program for a Pocket PC (PPT 2800), and this program uses a certain binary file, this binary file is made from a database that frequently changes. So I want to write a program for my desktop computer that on the click of a button copies this binary file to the Pocket PC.

So I need to know how I communicate with the Pocket PC?

Any suggestions welcomed !

Mundi

alanr
June 13th, 2002, 08:32 AM
http://rencher.com/cetools/

kandukondein
June 13th, 2002, 06:26 PM
U can either create a socket for transmitting ur binary file to the CE device or u can use RAPI calls to directly transfer the file.
Hope this helps u.
Refer MSDN for more information on RAPI.
Thanks
Kandukondein

Mundi
June 14th, 2002, 03:44 AM
I had figured out I should use the RAPI, and I have looked at the msdn and found all the functions that can be found in RAPI, but I still donīt know how to use it?? How do I access these functions?

thanx,

Mundi

alanr
June 14th, 2002, 09:10 AM
You read and write to and from the device teh same as you do in a regualr function except you use the RAPI functions: see below:


CeRapiInit();
CeCreateFile(.....);
CeWriteFile(......);
//or
CeReadFile(....);
//close with
CeRapiUninit();