首页 Soft PlugIn RAN乱 Dev开发 Info资料 English WAP 留言 登陆 注册
-
Posted by Yippee | 评论(0) | 引用(0) | 阅读5480次
WINCE VS.NET 开发 ActiveSync 模拟器 2

我也试验了: 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.


字体:

Permanant URI永久地址 http://www.shengfang.org/blog/p/vsnetwceasimg2.php
Trackback URI引用地址 http://www.shengfang.org/blog/tb.php?tb_id=1129071891

2005年10月12日07:04星期三  [Dev开发] 追踪此文的RSS
提示:
此文还没有评论。

称呼:    登陆   注册
   不注册,但记住我的信息
邮件:
(非必须)
评论: [UBB代码帮助]
粗体 斜体 下划线 链接 水平线 引用



验证码: 请输入你看见的数字
关闭UBB      提交时自动将内容复制到剪贴板

公告





统计信息
[Yippee]||[统计]||日志:2143
在线: 17||用户: 2635 [列表]
今日:495||到访:3654280
Rss:||评论:1668

最新日志

最新评论

友情链接

日历
342009 - 0734
   1234
567891011
12131415161718
19202122232425
262728293031 

最新引用
搜索

归档

杂项
Get RSS Feed (Version 2.0)
Get Atom Feed (Version 0.3)
编码:  UTF-8