Software required for development:
1. Integrated Development Environment ide:
Embedded Visual C ++ 4.0 (EVC) or Visual Studio 2005 + Microsoft. NET Compact Framework 2.0 SP2
2. Development Interface package:
Smartphone 2003 SDK and Pocket PC 2003 SDK or Windows Mobile 6 standard SDK
Software required for debugging:
1. Smartphone simulator:
Chinese (simplified) emulation Images
2. synchronization software with simulator:
ActiveSync 4.5
I. My machine environment
Desktop: Windows XP SP2 with essential drivers.
Portable: Windows Server 03 SP2 with essential drivers.
Note: Both systems are clean systems ~.
2. Software preparation
1. evc4.0 + SP4
(Evc4.0 order-column-number: TRT7H-KD36T-FRH8D-6QH8P-VFJHQ)
Size: 224 m + 66.6 m
:
Http://download.microsoft.com/download/c/3/f/c3f8b58b-9753-4c2e-8b96-2dfe3476a2f7/eVC4.exe
Http://download.microsoft.com/download/a/7/3/a735c7fb-dcbd-429f-9090-d09b3b15d3fa/evc4sp4.exe
2. Smartphone 2003 SDK and Pocket PC 2003 SDK
Size: 53.13 m + 84.08
:
Http://download.microsoft.com/download/e/3/1/e310bb99-2f33-4d79-bb8a-41d9cb3c79b4/Microsoft%20SMARTPHONE%202003%20SDK.msi
:
Http://download.microsoft.com/download/6/9/5/69570242-44e8-45e6-a252-9bd56db8ec83/microsoft%pocket%pc%2003sdk.msi
3. Chinese smart phone simulator emulator Image
Size: 19.4 m
File Download:
Http://download.microsoft.com/download/9/2/a/92a04f62-f20f-4570-b735-7de2819f66cc/Chinese%20Simplified%20Emulation%20Images.msi
3. Other preparations
1. Perform ghost on the existing system to prevent installation failure of evc4.0.
2. I have at least 2 GB space for drive C. Since I have installed wm6 SDK + vs2005 and other development kits, the total size of drive C is increased by 3.5 GB after the build is complete... Terror
3. Modify the boot. ini file in the C root directory. Change/noexecute T in the startup option to/execute and restart. The effect is as follows:
Multi (0) disk (0) RDISK (0) Partition (1)/windows.0 = "Microsoft Windows XP Professional"/execute/fastdetect
4. Make sure that your vbs script server runs properly. Many people on the Internet cannot install the script because the vbs script is not executed properly. If you have installed the super solution, be sure to note that the super solution will change the way the vbs file is opened. It is best to uninstall the super solution first, after uninstallation, go to the "file type" in "Folder Options" to restore the default open mode of vbs. Manually changing the open mode does not seem to work. If you find this error after installing EVC: cvtres: Fatal error cvt1102: out of memory. Use/common/EVC/bin/cvtres. EXE in the installation directory to overwrite the file with the same name in EVC/wce420/bin /.
Iv. Installation Steps
Note: we strongly recommend that you select the default directory for the following installation:
1. Install activesync4.5
Specific process: a typical "Next" installation, and then restart.
After the installation is successful, the system starts automatically and appears in the taskbar. The following dialog box is displayed when you double-click the task.
Possible problems: After installation, the taskbar does not have an icon. After restart, the task cannot be started even if it is selected in the Start Menu. This problem occurs when my desktop is a server03 system, while the 03 System of the same version can be correctly installed on my laptop. Because both systems are pure systems, it may be caused by conflicts between active and a driver. No in-depth research, and no solution can be found on the Internet. You can reinstall XP to solve this problem.
2. Install Microsoft Embedded C ++ 4.0 and Microsoft Embedded C ++ 4.0 SP4
Specific process:
First, mvc4.0 is installed as a self-extracting program. The default is the system temp folder. After decompression, go to the temp directory to find
Then install. In the process, you just need to "Next.
Then install the SP4 patch. It is also a self-extracting program. After decompression, the installation program automatically runs. It is also a "Next"
Note that, although the progress bar is displayed after SP4 is installed to the end, do not click Cancel when the button is not finished. Otherwise, "a program is still being installed" is displayed when you continue to install the program.
After a long wait, the installation is complete. Click "finish ". So far, the installation is complete.
After successful installation, You must select Microsoft Embedded C ++ 4.0 from the Start Menu. The program starts and appears on a GUI similar to VC programming. You can create a project at will! Congratulations, the most vulnerable step has passed.
Possible problems:
1. You are prompted in attention. Just pay attention to it.
2. the prompt "Virtual PC/Windows CE emulator may cause Windows instability and these drivers cannot be loaded by Windows" appears in the bubble because the boot is not modified. INI file. For details about the method, refer to other preparation 3.
3. If there are other problems, we recommend that you use the uruninstaller software to forcibly uninstall the software, or use the ghost to return to the original system. Reinstall and search for errors and correct them.
3. Install Microsoft smartphone 2003 SDK and Pocket PC 2003 SDK
Specific process: the SDK is the developer's Development Kit. After installation, EVC will automatically identify it. Next step during installation.
Note that both sdks must be installed; otherwise, the installation will fail.
When Microsoft Embedded C ++ 4.0 is successfully installed, choose tools> Configure platform manager... In the displayed dialog box, Smartphone 2003 is displayed, as shown in the red box. (There are only two projects under it)
4. Install Chinese (simplified) emulation Images
This emulation function even if the simulated smartphone is a Chinese system, although the personal support for Microsoft's Chinese is B-s. There will always be such a problem. But after all, it is developed for Chinese people. It must be installed later for debugging.
Specific process: All the way to "Next.
In the previous dialog box, three options are displayed under the Smartphone 2003 option. The first is chs_smartphone 2003. Click properties. For example, select two options.
Click test. A Chinese simulated mobile phone is displayed.
Possible problems: When you click test, a message such as "one or more components are lost. Please reinstall XXX For Win CE" indicates that the simulated device is not properly started, no change to boot. INI file.
Now, the basic development environment of this project has been set up. You can develop and debug applications for the smartphone03 system. As 03 systems are rare now, I have installed the Vs + WM development environment. For more information, see Visual Studio 2005 + Windows Mobile 6 Development Environment Installation Guide.
P.s. References
1. http://hi.baidu.com/%C2%B7%C4%CF%C6%BD/blog/item/8d2625df8504731b63279898.html
2. http://www.dialbox.org/docs/ce_dev.htm
3. Put all the installation files in the English directory, especially the EVC installation files.
This article from the csdn blog, reproduced please indicate the source: http://blog.csdn.net/paubljp/archive/2009/07/23/4374351.aspx