EVC4.0+sp4的默认安装的是standardsdk(即for wince5.0)+Emulator for wince5.0。因为现在在调wince4.2,所以安装了sdk for wince4.2(应该同时安装相同版本的模拟器),安装完毕后,在EVC中选择sdk for wince4.2,然后编译运行,却提示Emulator for wince4.2启动不起来。
另外,安装完EVC4.0+sp4,在windows启动时,总会提示'Virtual PC/Windows CE Emulator' 的错误。
于是上网找到了解决办法,方法如下:
You install Microsoft Windows CE 4.
x Emulator on a computer that is running Microsoft Windows XP Service Pack 2 (SP2). The computer has Data Execution Prevention (DEP) hardware. You receive the following error message when you restart your computer:
Devices or applications disabled
'Virtual PC/Windows CE Emulator' will cause Windows to become unstable. Windows has prevented these drivers from loading.
You may also receive the following error message when you try to start Windows CE 4.
x Emulator:
Emulator for Windows CE
One or more files from the Emulator for Windows CE installation is missing. Please reinstall Emulator for Windows CE and try again.
To resolve this problem and to run Window CE 4.x Emulator, disable hardware-based DEP on your computer that is running Windows XP SP2. To do this, follow these steps:
1.
| Click Start, click Run, type sysdm.cpl, and then click OK.
|
2.
| In the System Properties dialog box, click the Advanced tab.
|
3.
| Under Start and Recovery, click Settings.
|
4.
| In the Startup and Recovery dialog box, click Edit.
|
5.
| Disable PAE mode by removing the /pae option if it exists.
|
6.
| Remove the /noexecute option if it exists.
|
7.
| Add the /execute option.
|
8.
| On the File menu, click Save.
|
9.
| To exit Notepad, click Exit on the File menu.
|
10.
| To close System Properties, click OK two times.
|
11.
|
Restart your computer. |
这样如上的两个问题就可以同时解决了!!!
阅读(4988) | 评论(2) | 转发(0) |