Copy File From Desktop(PC) to PDA/PPC

Started by ml1969, September 29, 2009, 06:39:50 PM

Previous topic - Next topic

ml1969

Hello,

I collected some experiences in "programming" with PellesC for PNA,
all what I tried works so far....
Now, I begin programming for Desktop Windows (Xp, Vista etc)

I found the rapi.h and it works with CeCopyFile, CeMoveFile and so on....

Waht I want to do is to copy a file from the DesktopPC to the PDA (or from PDA to the DesktopPC)

The application runs NOT on the PDA, only on the DesktopPC... so I hope this is the right forum.


But I did not found anything that helps me.... ok I found something für VB.net but this is NOT the way I wanna go.....


Does anybody has an entrypoint for me?


Michael

Stefan Pendl

For PC applications you would use CopyFile or SHFileOperation API functions.

MSDN know all about them, use the definitions for Win32 and COM.
---
Stefan

Proud member of the UltraDefrag Development Team

ml1969

Hello Stefan,

sorry if I wrote something wrong.. or misunderstandable..

Copying files on the PC is no problem,
also using CeCopyFile using rapi.h is no problem,

what I tried to ask is, how to copy a file from the  PC to the PDA (PNA, PPC) ir from PD to PC.
I think I have to use also some rapi functions, but I did not find any.

Example I want to copy (desk) c:\test.txt  to  (device) \\storage card\\test.txt
I know the MS-tool cecopy.exe, but I did not want to use an external program.


Michael