Well, the previous article discussed the new features of Wince 7. Now it's time to perform the actual operations. The first step is to customize an image running on the vitual PC. To complete this task, make sure that you have installed: 1. windows Virtual PC 2. visual Studio 2008 + SP1 3. windows Embedded compact 7 4. in platform builder 7, you can download Virtual PC from this place.
In other words, after installing the software mentioned above, you can officially start it. Run Visual Studio 2008 and choose to create a new project. You will find that platform builder 2008 is added to the project type, select it and enter a project name. Here we use mywince7. The subsequent process is no different from the previous version. First, choose BSP. Here we use "Virtual PC: x86 "(1), and then select the template. Here I select mobile handheld under the PDA device, in the selection of components below, remember to check "Wired Local Area Network" in networking and communications ".
Figure 1
Figure 2
In the OS Design Project Wizard complete dialog box, cancel the selection of "build the following cnfiguration after I click Finish". Otherwise, after the Wizard is completed, Pb will start automatically compiling the system immediately, we often need to make other settings.
Figure 3
Click "finish" to confirm the "Security Warning" dialog box. The subsequent operations are not detailed here. They are basically the same as previous versions. You can select/delete components in catalog, modify localization and other options, and then select build from the menu.
Wait for some time. After the build is completed, set the Virtual PC and download the NK. This part is new to wince7. I will introduce it in detail. First, run Windows Virtual PC. If the "New vritual machine wizard" dialog box does not pop up automatically, run it from the menu:
Figure 4
Select "create a virtual machine" and press "Next". In the following dialog box, enter the Virtual Machine name, for example, "myvpc ", click "Next", select "Operating System" as "other", select the default Ram settings in the next dialog box, select "an existing virtual hard desk" in the next dialog box, and click Next
Figure 5
Wince7 provides a virtual machine in the C: \ wince700 \ platform \ virtualpc \ VM directory named hd0_sample.vhd. In the following dialog box, select this file.
Figure 6
Click Next and select finish in the confirmation dialog box to create a new virtual machine. Next, set the VM, click setting in the Virtual PC Console window, select networking, and select the appropriate adapter based on your actual situation. then click OK to create the VM.
Figure 7
OK. Now run your VM. In the virtual PC Console window, double-click the name of the VM we just created, "myvcepc", and press the Space key within five seconds as prompted, go to the bootloader settings menu:
Figure 8
Select 2 and set the boot source (where to download NK). Because we want to obtain NK from the network, select 2. Then, select 4 to set the network according to the following parameters:
Figure 9
Of course, the IP address here should be set according to the actual situation. If the network supports it, you can also use DHCP. After setting it, select 7 and save the settings. Next, in vs2008 (when the project is enabled), select target -- connectivty options, add a device "vecpc", set kernal download, and kernal transport to Ethernet, then click Settings of kernel download:
Figure 10
Select 0 in the VM. At this time, the virtual opportunity sends the bootme message, and the above window will display the device name:
Figure 11
Select the device, click "Apply", click "close", close the options window of target device connectivity, and select target -- attach device. The device status window appears, it indicates that NK is being downloaded. After the download is complete, wince7 will run on the VM:
Figure 12
The figure above shows how standard shell is selected. In the catalog, re-select Silverlight for embedded base consumer shell, re-build, download, and run the program. The effect is as follows:
Figure 13
Figure 14
Figure 15
As you can see, after using Silverlight, the user interface is much more beautiful than the original one. So next I want to study Silverlight on wince7.