Connecting to WinCE Device from Visual Studio

后端 未结 3 526
小蘑菇
小蘑菇 2021-02-03 13:34

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         


        
3条回答
  •  闹比i
    闹比i (楼主)
    2021-02-03 13:50

    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.

提交回复
热议问题