VS Connect Windows Mobile Simulator

Source: Internet
Author: User

Original: http://www.cnblogs.com/xjimmyshcn/archive/2011/07/19/2111087.html

WinCE Simulator connects PC via ActiveSync 6.1 (i.e. Windows Mobile Device Center)

1. Start the WinCE simulator

Command line: start. \deviceemulator.exe wince Mirror \wince5.bin/memsize 256/video 480x272x16/sharedfolder. \ analog Card

2. Set ActiveSync

3. Simulator Insert Base

After inserting the cradle, the ActiveSync automatically starts and establishes the connection

Second, vs2005 connection simulator

VS2005 Menu "Tools-" Connect to Device "

After the connection succeeds, as shown in:

Third, the Debug program

Start debugging in vs2005, device select "Windows CE 5.0 Device", point "deploy"

WinCE simulator Operation Result:

Add:

1. ActiveSync cannot connect to the WinCE simulator

Sometimes there may be ActiveSync unable to connect WinCE Simulator, can be resolved as follows:

1) WinCE Simulator, start and set-up dial-up and network connection; New connection "My connection", connection type Select "Direct connection", Next, select Device "Serial over DMA", complete

2) WinCE Simulator, start and set-up control Panel->PC connection; Change connection mode to "my Connections"

3) In ActiveSync, connect settings, select "Allow USB connection", "Allow connections to any of the following ports" set to "DMA", "This computer is connected to" is set to "automatic", check "Allow automatic Device Authentication", click OK.

If "Allow connection to any of the following ports" is set to "DMA", you can change it and click OK. Then reset to "DMA" and click OK to trigger the settings change.

2, install NETCFv2.wce5.armv4i.cab to wince

NETCFv2.wce5.armv4i.cab in D:\Program Files (x86) \microsoft Visual Studio 8\smartdevices\sdk\compactframework\2.0\v2.0 Can be found under the \windowsce\wce500\armv4i\ directory.

Copy it to wince, and install it.

3. Deploy other files to the WinCE simulator

VS2005 when you debug a wince emulator, the program is deployed to%CSIDL_PROGRAM_FILES%\XXXX.

To deploy a file to wince, you need to make the following settings:

VS Connect Windows Mobile Simulator

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.