Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - When building a WinCE development environment, install Windows Embedded CE 6.0 and the role of Microsoft Device Emulator 2.0
When building a WinCE development environment, install Windows Embedded CE 6.0 and the role of Microsoft Device Emulator 2.0

Follow the steps I mentioned and get the following picture: (It is available in my post bar (wince bar))

1. Customize the wince6.0 operating system

1. When creating a new project in VS2005, select OS Design to create Platform Builder for CE 6.0. The new project can be named by itself, here it is named "zhenxing".

2. In the wizard to create zhenxing, BSP must select "Device? Emulator:?ARMV4I", next step;

3. Template (Design?Templates) select "PDA? Device", next step;

4. Select "Mobile?Handheld", next step;

5. Select the application (Application?&?Media) according to your needs, Next step;

6. Networking?&?Communications Select only "Local?Area?Network(LAN)" here, next step;

7.Select Completed;

8. Select Acknowledge;

This project is completed;

2. Add components (you can add them as needed, here we mainly add components related to Chinese characters)

(1)? Add Chinese character library (remember to add it here, many people do not add it here, and only see the box when Chinese characters appear) phenomenon):

1. Add "Core?OS"-->"CEBASE"-->"International"-->"Locale?Specific?support"-->"Chinese" in Catalog?View ?(Simplified)"-->"Fonts"-->"SimSun?&?NSimSum(choose?1)"-->"SimSun?&?NSimSun" or "SimSum?&?NSimSun?(Subset?2_50)" ;

2. Add "Core?OS"-->"CEBASE"-->"International"-->"Locale?Specific?support"-->"Chinese?(Simplified) in Catalog?View )"-->"GB18030?Data?Converter" and "Monotype?Imaging?AC3?Font?Compression";?

(2) Add Chinese input method:

In Catalog ?View add "Core?OS"-->"CEBASE"-->"International"-->"Locale?Specific?support"-->"Chinese?(Simplified)"-->"Input?Method?Editor" -->"MSPY?3.0?for?Windows?Embedded?CE";?

(3)?Menu "Project" in VS2005 -->"zhenxing (project name) Properties", configuration selection " All configurations", configuration properties --> "Build?Options", remove "Enable?KITL?(no?IMGNOKITL=1)" in "Build?Options"? (If the KITL function is added here, it may be in the simulator When running, the screen will always be black);

(4) In "Locale", Locales first Clear?All, then select "Chinese (China)", and Default?local selects "Chinese (China)" )";

(5) Run the VS2005 menu "Build" --> "Generate zhenxing";

(After installing R3, I found that all simple device emuloter projects The compilation failed,?

It prompted don't?know?how?to?make?atlsd.lib?error,?

Later I found it in the catalog?view?, right? Just select Active?Temlate?Library?.

Another question is if I don’t need ATL, do I still need to choose this option?

)

3. Build SDK:

1. Run the VS2005 menu "Project" --> "Add? New? SDK...", fill in the necessary information in the SDK property page, and select Debug in Configuration? in the property "Emulation". You can set the display size and color depth of the simulator, as well as the memory size. Here, set it to 240?x?320, 16 color depth, 128M memory, and then "Apply" and "OK". .

2. Then run the VS2005 menu "Build" --> "Build?All?SDK...". If everything goes well, it will be in %WINCEROOT\OSDesigns\?\MyEmulator\MyEmulator\SDKs\SDK1\ There will be zhenxing.msi under MSI\;

4. Configure VS2005:

1. First install the generated zhenxing.msi. Run Visual Studio 2005, select the menu "Tools->Options", open the option setting dialog box, select "Device Tools->Device" from the tree list on the left, and scroll down the drop-down list box on the right to see the "?" zhenxing", this is the simulator just generated. There are two items in the device list below. Double-click zhenxing, set the transfer to DMA transfer, then click "Emulator Options", set the emulator screen size, color depth, etc. in the "Display" tab, and save them all. .

2. Use VS2005 to create a new smart device project. When the wizard selects the platform, delete Pocket?PC?2003 first, select zhenxing, and complete. Then press F5 to run the program. If everything goes well, the customized simulator will come out (but this process is slow and you need to wait for a while).