【转】EVC学习过程中遇到的错误以及解决办法总结

EVC学习过程中遇到的错误以及解决办法总结

1.错误:Microsoft eMbedded Visual C++ has discovered no CE platform SDK installed on the desktop please install at least one CE platform SDK before launching Microsoft eMbedded Vidual C++.

原因:SDK脚本被阻止未注册

解决方法:设置防火墙或者杀毒软件,注册Platman.install.vbs

2.错误:在4.0版本编译3.0版本程序时,出现corelibc.lib(pegwmain.obj) : error LNK2019……

原因:

1) 可能是eVC3代码升级到eVC4中编译。2) 或者创建工程时,没有选择正确的工程类型。3)入口有问题。

解决方法:

Project --> Settings... -->Link --> Category选Output --> Entry-point symbol

-->把WinMainCRTStartup改成wWinMainCRTStartup 或者 _DllMainCRTStartup



再编译,就OK了。

3.错误:Emulator for Windows CE one or more files from the Emulator foe windows CE installation is missing.Please reinstall Emulator foe Windows CE and try again.

解决方法:1)重装SDK。2)用pb定制一个自己的SDK。3)我的电脑-->属性-->高级-->启动和故障恢复-->设置-->编辑-->在跳出窗口-->boot表改noexeculte为execulte-->重启电脑。

4.错误:1)can't open include 'winver.h' 2)cannot open include file 'aygshell.h' 3)the platform manager sever faild 4)Failed to cannect to the device

原因:可能配置错误,cpu类型不匹配

解决:WCE配置Test SDK | Pocker PC 2003 | Win32[emulator]Release Debug | Pocket PC 2003 Emulator Rebuild All

5.错误:Cannot open precompiled header file "*.pch

分析:This error results from a missing file the compiled versin of StdAfx.cpp,Visual C++ does a poor job of keeping track of this file and frequently "forget" how to build it. This problem often occours after restoring a saved workspace from diskette without the Debug directory.To fix the error select StdAfx.cpp from the workspace file list the choose. Compile from the Build menu. If that doesnot work the go to project-setting select the C/C++ tab,and click the radio button labeled create Precompiled Headers.(重建project或者看红线)

6.错误:member functions 上看不到函数

解决:关掉工程,删除*.vco *.vcb *.asp *.clw *.ncb文件,重新打开工程编译。

7.如何让类在workspace显示,在头文件中修改该类的名字然后再改回来。

8.错误:vc60.pdb is not found project setting 的pre-link step 被误删

9.ctrl+alt+del打不开任务管理器。电脑中毒,1)运行-->gpedit.msc-->系统-->“阻止访问注册表编辑工具”-->禁用 2)运行-->regedit --> HKE_LOCAL_MACHINE\SOFTWORE\Microsoft\Windows\CurrentVersion\Run-->删除异常进程启动项-->重启-->启动杀软。

转载于:https://www.cnblogs.com/sqzxcv/archive/2009/12/27/1633132.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值