|
发表于 2005-9-2 10:29:00
|
显示全部楼层
“以前碰到很多人都出现莫名其妙的INTERNAL COMPILER ERROR,有些人以为vc出错了,如下:
D:\Myfiles\vc\data\dataDlg.cpp(202) : fatal error C1001: INTERNAL COMPILER ERROR
(compiler file 'msc1.cpp', line 1786)
Please choose the Technical Support command on the Visual C++
Help menu, or open the Technical Support help file for more information
Error executing cl.exe.
但有一种情况编译器会出现这种错误,如下:
if (!hFile.Open("d:\\temp\\test.txt",CFile::CFile::modeCreate)) //打开文件
原因是多了一个“CFile::”
编译器不能准确地找到这一行,因此,这种错误很难找。”
所以可能哪里代码有点问题,要不把代码发上来看看…… |
|