📄 readme.txt
字号:
Code Sample Name: Pget
Feature Area: ActiveSync
Description:
This application runs on a desktop host computer, and is used to copy a file
from a Windows Mobile-based device to a desktop computer.
For example, if you want to copy a file from "\windows\cmd.exe" on the
Windows Mobile-based device to "c:\cmd.exe" on the desktop computer,
type "Pget \windows\cmd.exe c:\cmd.exe".
Usage:
You must compile this application with Visual Studio 2005 or newer.
1. Open the project file in Visual Studio.
2. Navigate to "Tools" -> "Options", and expand "Projects and Solutions",
and click "VC++ Directories".
3. In "Show directories for:" select "Include files".
4. Add the path to the mobile device include directory. If you accepted
the defaults when installing Windows Mobile SDK, then the new directory
will be either
"C:\Program Files\Windows CE Tools\wce500\Windows Mobile 5.0 Pocket PC SDK\Activesync\Inc"
for Pocket PC, or
"C:\Program Files\Windows CE Tools\wce500\Windows Mobile 5.0 Smartphone SDK\Activesync\Inc"
for Smartphone.
5. In "Show directories for:" select "Library files".
6. Add the path to the mobile device library directory. If you accepted
the defaults when installing Windows Mobile SDK, then the new directory
will be either
"C:\Program Files\Windows CE Tools\wce500\Windows Mobile 5.0 Pocket PC SDK\Activesync\Lib"
for Pocket PC, or
"C:\Program Files\Windows CE Tools\wce500\Windows Mobile 5.0 Smartphone SDK\Activesync\Lib"
for Smartphone.
7. Navigate to "Build", and click "ReBuild All" to compile the executable
file.
If you want to copy a file from "\windows\cmd.exe" on the
Windows Mobile-based device to "c:\cmd.exe" on the desktop computer,
type "Pget \windows\cmd.exe c:\cmd.exe".
Relevant APIs/Associated Help Topics:
CeRapiInit
CeReadFile
CeCloseHandle
CeRapiUninit
Assumptions: none.
Requirements:
Visual Studio 2005,
Windows Mobile 5.0 Pocket PC SDK or
Windows Mobile 5.0 Smartphone SDK
ActiveSync 4.0.
** For more information about this code sample, please see the Windows Mobile
SDK help system. **
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -