Connecting to WinCE Device from Visual Studio

Maanu picture Maanu · May 25, 2011 · Viewed 13k times · Source

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?

Answer

yms picture yms · May 25, 2011

Folder structure.

Remote File Viewer

Applications running.

Remote Process Viewer or Remote Spy

Registry Values.

Remote Registry Editor

enter image description here

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\.

  Clientshutdown.exe

  ConmanClient2.exe

  CMaccept.exe

  eDbgTL.dll

  TcpConnectionA.dll

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.