从 Visual Studio 连接到 WinCE 设备 [英] Connecting to WinCE Device from Visual Studio
问题描述
我有一个 WinCE 设备.是否可以从visual studio连接设备查看以下内容
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?
推荐答案
文件夹结构.
Folder structure.
远程文件查看器
正在运行的应用程序.
Applications running.
远程进程查看器或远程间谍
Remote Process Viewer or Remote Spy
注册表值.
远程注册表编辑器
如果您的设备没有 ActiveSync,您应该阅读这篇关于 如何在没有 ActiveSync 的情况下连接到 Windows CE
If your device does not have ActiveSync, you should read this MSDN article on how to connect to Windows CE without ActiveSync
MSDN 文章摘要:
准备设备:
将以下文件复制到设备上的 \Windows\ 文件夹.这些文件默认位于开发计算机上的 \Program Files\Common Files\Microsoft Shared\CoreCon\1.0\Target\wce400\.
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\.
Clientshutdown.exe
ConmanClient2.exe
CMaccept.exe
eDbgTL.dll
TcpConnectionA.dll
在设备上运行 conmanclient2.exe
run conmanclient2.exe on the device
确定设备的 IP 地址.
Determine the IP address of the device.
准备 Visual Studio:
在 Visual Studio 工具菜单上,依次单击选项、设备工具和设备.
Prepare Visual Studio:
On the Visual Studio Tools menu, click Options, then click Device Tools, and then click Devices.
选择 Windows CE 设备,然后单击属性.
Select Windows CE Device, and then click Properties.
在传输框的右侧,单击配置.
To the right of the Transport box, click Configure.
在配置 TCP/IP 传输"对话框中,选择使用特定 IP 地址",然后键入设备 IP 地址.
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
设置安全并建立连接:
在设备上的命令提示符下,运行 cMaccept.exe.
Set security and establish the connection:
At the command prompt on the device, run cMaccept.exe.
在三分钟内,连接到设备.如果您在三分钟内建立了第一个连接,只要您使用相同的 Visual Studio 实例,就可以无限期地继续部署和调试.您可以通过禁用设备上的安全性来消除 cMaccept 步骤.为此,请使用远程注册表编辑器设置 HLKM\System\CoreConOverrideSecurity = 1 DWORD 值.
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.
这篇关于从 Visual Studio 连接到 WinCE 设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!