我也试验了: www.shengfang.org
D:\ms\wince\sp2003\Tools>emuascfg www.shengfang.org
Emulator ActiveSync Configuration Utility v1.0
==========================================================
Usage:
EmuASCfg /PPC [platform] [device] Configure Pocket PC 2003 Emulator
EmuASCfg /SP [platform] [device] Configure Smartphone 2003 Emulator
EmuASCfg /L List available PlatMan platforms and de
vices
[platform] Optional. Specifies platform identifier (default:
POCKET PC 2003 | SMARTPHONE 2003).
[device] Optional. Specifies device identifier (default: P
OCKET PC 2003 EMULATOR | SMARTPHONE 2003 EMULATOR).
*You should make sure the emulator has booted successfully before running this
tool.
D:\ms\wince\sp2003\Tools>emuascfg /SP
Emulator ActiveSync Configuration Utility v1.0
==========================================================
Connecting to specified device [Platform:SMARTPHONE 2003, Device:SMARTPHONE 2003
EMULATOR]...
Setting local ActiveSync registry settings...
Creating XML files for device provisioning...
Deploying XML provisioning files and tools...
Configuring device-side ActiveSync settings...
Completing device provisioning, please wait...
Configuration complete.
D:\ms\wince\sp2003\Tools>emuascfg
结果一同步就报告:
关键性通信服务启动失败,请尝试重置移动设备,然后重新连接
网上找到的资料要不就是说防火墙问题,要不就是说
4: 出现“关键性通信服务启动失败。请尝试重置移动设备,然后重新连接。”
答:打开ActiveSync的连接窗口:
在[文件]>[连接设置]里,根据你的连接类型(红外或连接线),正确的勾选所有的选项。
具体操作----
1、勾取“允许通过COM端口上的串行电缆或通过红外线端口建立连接”;并在该项目的下拉窗口里选择正确的端口。
2、勾取“允许通过USB端口建立连接”; www.shengfang.org
3、手机里打开的ActiveSync软件中,[服务器设置]里的所有项目都可以不选取,(服务器名称,域, 留空不用填);
[PC 设置]里,在[使用移动日程安排与此PC同步]项下,取消前面的勾(即确认不要打勾)
4、电脑上打开的的ActiveSync软件窗口中,按[选项]>[同步选项]里,也全部留空。到有需要时再手工同步就行了。
继续看:这是帮助里面的 www.shengfang.org
Using ActiveSync Over Virtual Switch
Configure the emulator to use Virtual Switch. For more information, see Changing Ethernet Support in the Emulator .
Start the emulator.
Open the SDK command prompt, found under: Start->All Programs->Microsoft Smartphone SDK->Smartphone SDK.
Run emuascfg specifying the /SP flag for the Smartphone emulator. Press Enter, and wait until emuascfg has completed.
Close the command window when it's finished.
Confirm that ActiveSync has Allow Network (Ethernet) and Remote Access Service (RAS) server connection with this desktop computer enabled. Find this under ActiveSync's Connection Settings dialog.
Switch to the emulator.
Open ActiveSync in the emulator.
Choose "Sync".
The emulator will then connect to the desktop via the ethernet.
看似一样,不过~ www.shengfang.org
Accepted Answer from Mikal613 Date: 04/22/2004 07:40PM PDT Grade: A Accepted Answer
your error is there bc you cant do that
!!! Microsoft Visual Studio? .NET does not support the virtual switch option. !!!
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/guide_ppc/htm/intro_to_the_ce_emulator_cbvw.asp
Comment from Mikal613 Date: 04/22/2004 07:50PM PDT Comment
EmuASCfg.exe—This tool configures ActiveSync and the Pocket PC emulator to allow establishment of an ActiveSync partnership over the Ethernet Virtual Switch. You must use eMbedded Visual C++ to boot the Pocket PC emulator using the VirtualSwitch option before running this tool. For usage information, type "emuascfg.exe /?" at the command line
a)one option can be to share a folder and just send it there:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnppc2k3/html/winmob03.asp
Comment from ho_alan Date: 04/22/2004 08:42PM PDT Author Comment
!!!that means it only supports eVC++ doesn't work with VS.net, even VS.net 2003!!!
ok, thanks!
无力~~~~~ www.shengfang.org
算了,还有一手~ www.shengfang.org
Moving Files to and from the Emulator
Files can be moved to or from the emulator by using any of these methods:
ActiveSync's Explore functionality (for more information, see Using ActiveSync with the Emulator).
The Remote File Viewer tool that is available in eVC 4.0. The Export function moves a file from the file system of the development workstation to the file system of the real or emulated Smartphone device. The Import function moves files from the real or emulated Smartphone device to the development workstation file system.
Sharing the files within the development workstation file system and accessing those files by using the File Manager in the emulated Smartphone image.