从别的机子上copy一个自编的小程序的exe文件,在我的机子上提示:应用程序正常初始化(0xc0000142)失败,请单击“确定”终止应用程序。编译源文件,提示:
fatal error C1083: Cannot open precompiled header file: 'Debug/sine.pch': No such file or directory
Error executing cl.exe.应用环境:vc pro 6.0请各位高手不吝赐教
fatal error C1083: Cannot open precompiled header file: 'Debug/sine.pch': No such file or directory
Error executing cl.exe.应用环境:vc pro 6.0请各位高手不吝赐教
then rebuild all
then rebuild all
或者到那台機子上找到sine.pch文件.放到你的執行檔的同一個目錄看看
而且另一机子上并没有'Debug/sine.pch'文件
Project -> Settings -> C/C++ -> Category选倒数第二项
-> Automatic......
我也碰到同样问题,改好就能编译了,但是不能加入ActiveX控件了,说什么这个程序不是由AppWizard做成的,最后只好重建一个工程,拷贝所有.h、.cpp和资源文件过去覆盖,才搞定,祝你好运~
rebuild
build之后提示说:NTDLL.DLL有异常
改改预编译的选相应该会解决吧
特别感谢YP2002CN兄,多次回复并多次e-mail给我提出自己的见解,在此深表感谢
问题地根本是我的显卡(ATI RAGE PRO)不支持opengl,希望各位引以为戒。