如何能 POCKET PC2002 的模拟器 和 PC 的ACTIVESYNC连接

hd506lg 2003-10-15 03:30:12
如何能 POCKET PC2002 的模拟器 和 PC 的ACTIVESYNC连接

就是模拟器和PC 同步连接
...全文
44 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
codeworm 2003-10-15
  • 打赏
  • 举报
回复
很麻烦,我把PPC2002 SDK中讲Emulator和ActiveSync连接的部分摘录下来,自己慢慢看吧
The emulator supports ActiveSync between the host PC (with Microsoft ActiveSync version 3.5 installed) and the emulator image. To use ActiveSync with the emulator, two available serial ports on the development workstation and a serial cable are required. The cable should be a straight-through cable, sometimes called an extension or a null modem cable (Belkin part number F2N209-6 or equivalent).


To configure the development workstation to use ActiveSync

1、Connect each end of the serial cable to an available serial port (for example, COM1 or COM2).
2、If a Pocket PC device is connected to the workstation, remove the device from its cradle and disconnect the cradle from the workstation.
3、In the ActiveSync application, on the File menu, click Connection Settings.
4、Ensure that the Allow serial cable or infrared connection to this COM port check box is selected.
5、Set the COM port in the drop-down list box to COM2 (or one of the COM ports to which the serial cable is connected).
6、Click OK to close the Connection Settings dialog box.
7、In eMbedded Visual C++, on the Tools menu, click Configure Platform Manager; in eMbedded Visual Basic, on the Tools menu, click Remote Tools, and then click Configure Platform Manager.
8、In the device list, click Pocket PC 2002 Emulator, and then click Properties.
9、Click Configure (next to the Startup Server drop-down list box).
10、In the drop-down list box next to Serial Port 1, click COM1 (or the other COM port to which the serial cable is connected).
11、Click OK to close the Emulation Configuration Settings dialog box.
12、Click Test.
13、When the emulator image is loaded and Platform Manager has completed its test, press and hold CTRL (equivalent to the Action button on the device), and click and hold the clock in the upper right of the title bar. When the shortcut menu appears, click Run.
Note When the emulator image loads, ActiveSync may try to connect to it; however, this connection will be unsuccessful. If a dialog box appears, asking whether to disconnect the port from ActiveSync or retry, click retry.

14、In the Run dialog box, type repllog and then click OK. The Repllog.exe file is the device-side part of ActiveSync that initiates a connection to the partner computer.
15、ActiveSync on the desktop side of the development workstation will detect a client that is trying to connect without an established partnership. This detection will cause the New Partnership Wizard to be displayed (the same wizard appears when a new or cold-booted Pocket PC 2002 device is connected to a desktop computer). In this wizard, first choose whether to establish a partnership or connect as a guest.
Note Establishing a guest connection is convenient when the sole purpose of the connection is to transfer files by means of ActiveSync.

16、Type a name that will be used to identify the partnership and to set the device name of the emulator image.
17、Select the types of information to be synchronized with the emulator.
18、When the New Partnership Wizard is complete, ActiveSync will synchronize the selected data to the emulator. After this synchronization, any changes made to the information (either in the emulator or on the desktop) will be synchronized.
Note After a partnership is established, use the Save Emulator State option when exiting the emulator. This option preserves the partnership and data for future use in the emulator. For more information, see Shutting Down the Emulator.

19,500

社区成员

发帖
与我相关
我的任务
社区描述
硬件/嵌入开发 嵌入开发(WinCE)
社区管理员
  • 嵌入开发(WinCE)社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧