Configuration process of Windows Mobile 6 Development Environment

Source: Internet
Author: User
List of required files:
1. Visual Studio 2005 professional and later (Visual Studio 2005 express currently does not support smart device development) (we recommend using thunder or lightning ).
2. Visual Studio 2005 patch SP1 (we recommend using thunder or lightning)
3. ActiveSync version 4.5 (http://download.microsoft.com/download/7/e/c/7ecbd388-7fb5-4e3e-b57f-12eaf7eb6136/setup.msi)
4. Windows Mobile 6.0 professional SDK (http://download.microsoft.com/download/f/2/3/f232f773-7edc-4300-be07-d3b76a5b3a91/Windows%20Mobile%206%20Professional%20SDK%20Refresh.msi)
5. Windows Mobile 6 professional Chinese image (http://download.microsoft.com/download/0/1/2/012bfbba-9fe5-4e68-86c9-d434446d97dd/0804/Windows%20Mobile%206%20Professional%20Images%20 (CHS). MSI)
Development Environment installation sequence:
Install Visual Studio 2005, Visual Studio 2005 SP1, ActiveSync version 4.5, Windows Mobile 6.0 professional SDK, and Windows Mobile 6 professional Chinese Image
Installation instructions and precautions:
1. We usually use Visual Studio 2005 professional and later for smart devices. Program (Visual Studio 2005 Express is not currently supported ). During Visual Studio 2005 installation, you only need to select the "smart device programmable technology" single region in Figure 1. After installation, you can use Visual C # for development and hosting. Code The smart device program.
2. After Visual Studio 2005 is installed, We need to install the ActiveSync software so that we can continue to complete the SDK installation for a specific platform. We hope you will pay attention to this order. After ActiveSync is installed, you will be prompted to restart the computer to complete the corresponding settings.
ActiveSync supports both PPC and Microsoft Smartphone allows you to conveniently synchronize data between PCs and PPC or smartphones. ActiveSync not only synchronizes files, emails, and schedules, but also has many additional features such as synchronizing SMS. In addition, users of Windows Mobile devices can connect to a PC to access Internet . ActiveSync is a bridge between PCs and mobile devices.
3. Windows Mobile 6.0 and Windows Mobile 5.0 are both based on Windows CE 5.0, but Windows Mobile 6.0 Basic Added some new features, such as the Vista style. The latest SDK version of Windows Mobile 6.0 can contain two versions: one is the professional version developed for Pocket PC and Pocket PC phone edition, and the other is the standard version developed for smartphone. In this topic, we mainly develop the Pocket PC phone edition platform. Compared with the Pocket PC, it has the call function, in addition, the hardware performance is much higher than that of smartphone, so you can install Windows Mobile 6.0 professional SDK under normal conditions.
4. by default, the Windows Mobile 6.0 professional SDK automatically installs an English-language device Simulator for Windows Mobile 6.0 and a Chinese-language device simulator (Windows Mobile 6 professional Chinese image) we need to download it separately for installation.
5. After the Windows Mobile 6.0 SDK is installed, we can use Visual Studio 2005 to develop a smart device program for Windows Mobile 6.0. In the "smart devices" column, we will find that the "Windows Mobile 6 Professional" option is added, and with the template on the right, we can create five different types of projects.
6. if the error "Failure: cannot create wscript shell object" is prompted during SDK installation, click OK. After installation, execute the command line... \ Microsoft Visual Studio 8 \ common7 \ ide
The devenv.exein the directory, that is, key to includevenv.exe/setup. Then the installation is successful !!!

Another well-known Hello world and demo

The following uses C # To develop a simple demo.
Choose Visual C #> smart devices> Windows Mobile 5.0 Pocket PC> device application to create a project named deviceapplication1.

Design a form.

Edit the click event of button1
Private void button#click (Object sender, eventargs E)
{
Label1.text = "Hello World ";
}
After the deployment is complete, select "debug"-"start execution (do not Debug)", and a prompt will be displayed to select the location to deploy, of course, select "CHS Windows Mobile 5.0 Pocket PC emulator.

Click "deploy" and vs2005 will start to deploy the simulator. This process is slow. The status bar below Vs will display a progress bar, and a small icon will appear in the center of the simulator screen, wait.

After the deployment is complete, the following message is displayed in the vs Status Bar: "deployed successfully". At this time, the program deployed on the simulator is automatically started. The installation location of this program is in the "my devices \ Program Files \ deviceapplication1" directory on Windows Mobile.

Click the button to change the text displayed.

In this way, a small windows mobile program is completed, and the development of Windows Mobile seems not very difficult, but only limited to the use of C #, if you use C ++ to develop local code, it is totally different in style, which makes people feel much more complicated.

by the way, using Visual Studio 2005 in the simulator comes with the "remote tool" for "remote amplification" is more convenient. Using Alt + printscreen directly cannot intercept the simulator image.

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.