visual studio2005为什么编译正常,生成解决方案.exe运行就报错:
Runtime Error!
Program: C:\Users\Raojs\Desktop\111\sino-edm.exe
This application has requested the Runtime to terminate it in an unusual way.Please contact the application's support team for more information.
解决:这边是由于数据库文件加载的问题,需要将之间的数据库文件覆盖掉,使用新的。
WinGenerateKey.obj : error LNK2011: 未链接预编译对象;映像可能不能运行
解决:连接器->输入,添加:..\WinGenerateKey\Debug\stdafx.obj 或者 ..\WinGenerateKey\Release\stdafx.obj
报错:fatal error C1083: Cannot open include file: 'resource.h': No such file or directory
原因:误把’resource.h‘文件删除,回复项目下的resource.h文件即可。