从 Visual Studio 连接到 WinCE 设备
我有一个 WinCE 设备。是否可以从 Visual Studio 连接到设备来查看以下内容
Folder structure.
Applications running.
Registry values.
还有其他方式来查看这些项目吗?
我可以从哪里获得更多这方面的信息?
I have a WinCE device. Is it possible to connect to the device from visual studio to view the following
Folder structure.
Applications running.
Registry values.
Is there any other ways to view these items?
Where can I get more information on this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
远程文件查看器
远程进程查看器或远程间谍
远程注册表编辑器
编辑:
如果您的设备没有没有 ActiveSync,您应该阅读这篇 MSDN 文章,了解如何在没有 ActiveSync 的情况下连接到 Windows CE
MSDN 文章摘要:
准备设备:
将以下文件复制到设备上的 \Windows\ 文件夹中。默认情况下,这些文件位于开发计算机上的 \Program Files\Common Files\Microsoft Shared\CoreCon\1.0\Target\wce400\。
在设备上运行 conmanclient2.exe
确定设备的 IP 地址。
准备 Visual Studio:
在 Visual Studio 工具菜单上,单击“选项”,然后单击“设备工具”,然后单击“设备”。
选择“Windows CE 设备”,然后单击“属性”。
在“传输”框的右侧,单击“配置”。
在“配置 TCP/IP 传输”对话框中,选择“使用特定 IP 地址”,然后键入设备 IP 地址。
关闭对话框并根据需要软重置设备
设置安全性并建立连接:
在设备上的命令提示符下,运行 cMaccept.exe。
在三分钟内连接到设备。如果您在三分钟内建立第一个连接,只要您使用相同的 Visual Studio 实例,就可以无限期地继续部署和调试。您可以通过禁用设备上的安全性来消除 cMaccept 步骤。为此,请使用远程注册表编辑器设置 HLKM\System\CoreConOverrideSecurity = 1 DWORD 值。
Remote File Viewer
Remote Process Viewer or Remote Spy
Remote Registry Editor
EDIT:
If your device does not have ActiveSync, you should read this MSDN article on how to connect to Windows CE without ActiveSync
Summary of the MSDN article:
Prepare the device:
Copy the following files to the \Windows\ folder on the device. These files are located on the development computer by default at \Program Files\Common Files\Microsoft Shared\CoreCon\1.0\Target\wce400\.
run conmanclient2.exe on the device
Determine the IP address of the device.
Prepare Visual Studio:
On the Visual Studio Tools menu, click Options, then click Device Tools, and then click Devices.
Select Windows CE Device, and then click Properties.
To the right of the Transport box, click Configure.
In the Configure TCP/IP Transport dialog box, select Use specific IP address, and then type the device IP address.
Close the dialog boxes and soft-reset the device if needed
Set security and establish the connection:
At the command prompt on the device, run cMaccept.exe.
Within three minutes, connect to the device. If you establish your first connection within three minutes, you can continue deploying and debugging indefinitely as long as you are using the same Visual Studio instance. You can eliminate the cMaccept step by disabling security on the device. To do so, use the Remote Registry Editor to set HLKM\System\CoreConOverrideSecurity = 1 DWORD value.
如果 OEM 已包含 Activesync 支持,您应该能够通过 USB 连接它(假设设备有 USB)并在 Windows Mobile 设备中心中查看该设备。您可能还需要安装 OEM 特定的 USB 驱动程序。如果没有 USB,您可以通过蓝牙或红外线进行 Activesync。
您可以通过移动设备中心查看文件夹结构。 Visual Studio(截至 2008 年)包含远程注册表编辑器和远程进程查看器,这应该可以帮助您完成剩下的工作。
If the OEM have included Activesync support you should be able to connect it via USB (assuming the device has USB) and see the device in the Windows Mobile Device Centre. You may also need to install OEM specific USB drivers. If no USB you may be able to Activesync over Bluetooth or Infra-red.
You can see folder structure through Mobile Device Centre. Visual Studio (up to 2008) includes the Remote Registry Editor and the Remote Process Viewer, which should get you the rest.
复制地址上相同的所有文件
C:\Program Files\Common Files\Microsoft Shared\CoreCon\1.0\Target\wce400\[armv4i]
这是我的设备的名称到
设备 Windows 根目录,有时设备需要重置
因此,您必须运行
CMAccept.exe
和ConmanClient2.exe
祝你好运,感谢你开始这次讨论
:)
copy all file files same on address
C:\Program Files\Common Files\Microsoft Shared\CoreCon\1.0\Target\wce400\[armv4i]
this is name my deviceto
device windows root and some time device need reset
so, you must run
CMAccept.exe
andConmanClient2.exe
good luck and thanksm for start this discution
:)