Windows CE 6.0 installation, simple customization and Export SDK

Source: Internet
Author: User

 1. Install Visual Studio 2005 and Ce 6.0 add-on; check Visual Studio 6.0 before and after ce 2005 installation; check ce 6.0's directory structure and several important files; familiar with Visual Studio 2005 and platform builder for CE 6.0 (integrated in Visual Studio 2005.

1. Install Visual Studio 2005

As a plug-in of Visual Studio 2005, wince6.0 must first install vs2005.

A vs05 trial key: SN: KYTYH-TQKW6-VWPBQ-DKC8F-HWC4J

Note: Because vs2005 is compatible with other vs versions (such as vs2010), you do not need to uninstall the original version.

2. Install the vs2005 SP1 Patch

Download and install the corresponding SP1 Patch based on the language version of vs2005.

Chinese version SP1 Patch:

Http://www.microsoft.com/downloads/details.aspx? Displaylang = ZH-CN & familyid = bb4a75ab-e2d4-4c96-b39d-37baf6b5b1dc

English version SP1 Patch:

Http://www.microsoft.com/downloads/details.aspx? Displaylang = en & familyid = bb4a75ab-e2d4-4c96-b39d-37baf6b5b1dc

Note: The Chinese version of the patch installation English vs is invalid, so you must select the corresponding patch. This patch supports platform builder. Therefore, installation is required. The complete installation process takes a long time.

3. Install wince6.0

If you use the wince6.0 180-day trial, you can go

Http://www.microsoft.com/windowsembedded/eval/trial.mspx

Note: You must register with Microsoft to obtain a serial number before installation. During installation, select x86 and armv4i. Other BSP options are optional. The installation path is preferably the default C root directory.

4. Install the patch wince6.0 SP1

Download and install Windows Embedded ce 6.0 platform builder Service Pack 1.msi ,:

Http://www.microsoft.com/downloads/details.aspx? Familyid = bf0dc0e3-8575-4860-a8e3-290adf242678 & displaylang = en

5. Install wince6.0 r2

Install wince6.0 R2. Address:

Http://www.microsoft.com/downloads/details.aspx? Familyid = f41fc7c1-f0f4-4fd6-9366-b61e0ab59565 & displaylang = en

6. Install wince 6.0 r3

There is a link in R2.

7. Patch wince6.0

On the Microsoft wince homepage, you can find the patch package link.

8. Upgrade. Net cmpact framwork3.5

:

Http://www.microsoft.com/downloads/details.aspx? Familyid = e3821449-3c6b-42f1-9fd9-0041345b3385 & displaylang = en

9. Install Microsoft device emulator 2.0

10. Install Virtual Machine Network Driver for Microsoft device emulator

Step 1, step 2, and step 3 can be developed. If you want to use emulator, you need to step 9 and Step 10. Note that the sequence should not be wrong.

After windows is installed, the main file locations are C:/wince600 and the project directory.

II,Customizes an OS design (for device emulator), generates (build) the OS design image, and checks which files are added after the build and their respective functions. The OS design requirements are as follows:

A) The default wallpaper is an image of the North Building in the South China University (or any other picture you like );

B) include the Chinese input method. (compare the size of the OS image file that contains the Chinese Input Method and does not contain the Chinese input method. Why ?)

C) contains a browser that can access the Internet, the home page is http://software.nju.edu.cn;

Procedure:

(A) Create a project

1. Click file-> new project to create the wince project. Note that the path cannot contain Chinese characters or spaces. One problem is that the system cannot find winceroot. The solution is to set winceroot in tools> options to the C:/wince600 directory of wince600. If it is not successful, uninstall and reinstall it.

2. Select emulator arm4i BSP because the simulator is used for the test. Select a PDA device, which is in ice version. I have always failed to customize the input method. In this mode, I succeeded step by step.

3. Select components. Finish.

(B) Set project properties.

Right-click the project name in Solution Explorer and select Properties. Select Simplified Chinese in locales and simplified Chinese in default locales ). Remove enable kitl in build option, which affects debugging. As for run-time image can be larger than 32 MB, because the system automatically selects the release mode option in the build option, you do not need to manually select it here.

(C) Build the project.

Search for whether ATL is selected in catalog items view. If not selected, Chinese input is not supported (compilation may fail ).

Because you have selected Chinese support, in the catalog items view, choose core OS-> cebase-> International-> locale specific support-> Chinese simplify-> gb18030 and monotype, continue to expand fonts-> simsun .. -> single choice simsun & nsimsun.

In the toolbar, SET solution configuration to the release mode.

The build process is about 15 minutes.

(D) simulator test results.

In target-> connectivity options, on the kernel service map tab, select device emulator (DMA) for download and transport ). Then the connected device will connect to the simulator. Click setting at the download side to set the screen resolution.

The attach device starts the simulator.

(E) customize the default wallpaper.

In the compiled Project (my project is E:/winceos/emulator2), find the release directory (E:/winceos/emulator2/emulator2/reldir/example) and upload the background image to (backimg.bmp ).

Search for project. Reg in the folder and add [HKEY_CURRENT_USER/controlpanel/desktop] at the end.

"Wallpaper" = // windows // backimg.bmp

This is to set the registry key to change the default wallpaper.

Search shell. bib in the folder and edit the following code:

@ Cesysgen if shell_modules_qvgap
Windowsce.bmp $ (_ flatreleasedir)/windowsce_qvgap.bmp NK s
; @ Cesysgen endif shell_modules_qvgap
Changed:

; @ Cesysgen if shell_modules_qvgap
Backimg.bmp $ (_ flatreleasedir)/backimg.bmp NK s
; @ Cesysgen endif shell_modules_qvgap

This is to copy the required files to the image when making an image (NK. Bin.

Make the image again.

Note: 1. Note the difference between the configuration file of the release directory of the project and the configuration file of the C disk. Changing the configuration file of drive C takes effect only after you rebuild it.

2. If the wallpaper is in JPG format, you can find the corresponding location in shell. bib. You do not have to replace the original one or add one.

(F) Set the IE homepage.

Search ie. Reg in the release directory, open edit HKEY_CURRENT_USER/software/Microsoft/Internet Explorer/main key startpage: REG_SZ, value is http://software.nju.edu.cn

Make the image again.

(G) custom Chinese input method.

There are two IME input methods in wince6.0, one is mspy 3.0 and the other is pocket ime. Either of them can be used.

Add component:

I. Add pocket ime:

1. add "core OS"-> "cebase"-à> "international"-à> "locale specific à support"-> "Chinese (simplified) in catalog view) "-à>" fonts "-à>" simsun & à nsimsum (choose 1 )"

2. add "core OS"-> "cebase" -- à> "international" -- à> "locale specific support" -- à> à "Chinese (simplified) to the catalog view) "à" gb18030 data converter "" monotype imaging AC3 font compression "(this step is very important if you do not select Chinese characters to display garbled characters .)

3. Input Method Editor-> pocket ime-> "double spelling (shuang pin) soft keyboard-small"

Ii. Added mspy 3.0:

1. add "core OS"-> "cebase"-à> "international"-à> "locale specific à support"-> "Chinese (simplified) in catalog view) "-à>" fonts "-à>" simsun & à nsimsum (choose 1 )"

2. add "core OS"-> "cebase" -- à> "international" -- à> "locale specific support" -- à> à "Chinese (simplified) to the catalog view) "à" gb18030 data converter "" monotype imaging AC3 font compression "(this step is very important if you do not select Chinese characters to display garbled characters .)

3. Input Method Editor-> mspy 3.0 for WindowsCE sysgen_mspy3_ SC (either or both of the following can be selected)

Double spelling (shuang pin) soft keyboard-large sysgen_spim_mspy_large (option) double spelling (shuang pin) soft keyboard-small sysgen_spim_mspy (option)

Note that the large and small keyboards here are the large and small keys that come with the Microsoft Simplified Chinese Input Method, but are not required to use the Microsoft Simplified Chinese Input Method. You can also choose not to use them, use the default Standard large and small keyboards under shell and user interface software-based Input Panel (SIP) (choose 1 à software Input Panel à interface or more. The difference between the two lies in that if you use the built-in keyboard, you can use double spelling to input Chinese characters. If you use the standard keyboard, you can enter Chinese Characters in full pinyin, but only part of them can be spelled, and some words cannot be spelled.

Mspy 3.0 for Windows CE database (choose 1)

Ii. Registry

Add in platform. Reg

; Simplified Chinese Intelligent IME (mspy3)

[HKEY_CURRENT_USER/keyboard layout/preload/1]
@ = "E0010804"

The Chinese input methods are generally IME, such as pocket IME and (mspy 3.0) Microsoft Simplified Chinese input methods. Generally, only one input method can be used. Some input methods are SIP, so there can be multiple. Of course, IME and SIP can coexist.

Re-build the project.

Note:

1. If you want to change platform. Reg of the C-drive configuration file, do not select the corresponding BSP.

2. You need to build the project again.

3. if you select the BSP for Enterprise Edition, the input method will be customized in advance, so you don't have to worry about it.

4. image files will gradually increase as new content is customized. Pay attention to the relationship between features and capacity.

3. Export and install the OS design SDK. Check whether Visual Studio (Interface) is different before and after installation.

1. Do not forget to customize the font of the Chinese SDK (see section 2 (c )).

2. Check the build options of the Project Properties and remove enable kitl.

3. Project-> Add new sdks. Enter necessary information. OK.

4. Build-> build all sdks.

5. You can find the generated sdk msi execution file in the project directory (my files are E:/winceos/emulator2/emulator2/sdks/sdk1/Msi/sdk1.msi ). Run the command.

4. Download the OS design image to the device (device emulator) and download a file to the device (or an application ).

1. Download To emulator and run the image (see figure 2 (d )).

2. You can use share folder to download an object. After the simulator is started, file-> Configure and share folder on the simulator can be used to set a shared folder with the PC. The wince system can directly mount this folder. Wince can access the files here for download.

 

 

Address: http://blog.csdn.net/mtawaken/article/details/5894960

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.