编译好的工程突然出现莫名其妙的错误
一个工程是我编译好的,记得好象没有做什么改动,今天突然出现这样的错误。
Compiling...
CommandExec.cpp
e:\program files\microsoft visual studio\vc98\include\transact.h(226) : error C2059: syntax error : 'constant'
e:\program files\microsoft visual studio\vc98\include\transact.h(271) : error C2143: syntax error : missing ';' before '}'
e:\program files\microsoft visual studio\vc98\include\oledb.h(17149) : error C2143: syntax error : missing ';' before '}'
e:\program files\microsoft visual studio\vc98\include\oledb.h(17149) : error C2143: syntax error : missing ';' before '}'
e:\program files\microsoft visual studio\vc98\include\oledb.h(17149) : error C2143: syntax error : missing ';' before '}'
e:\program files\microsoft visual studio\vc98\atl\include\atliface.h(35) : error C2143: syntax error : missing ';' before '{'
e:\program files\microsoft visual studio\vc98\atl\include\atlbase.h(5924) : error C2039: 'ResourceRegisterSz' : is not a member of 'CComPtr'
e:\program files\microsoft visual studio\vc98\atl\include\atlbase.h(563) : see declaration of 'CComPtr'
e:\program files\microsoft visual studio\vc98\atl\include\atlbase.h(5926) : error C2678: binary '->' : no operator defined which takes a left-hand operand of type 'class ATL::CComPtr' (or there is no acceptable conversion)
e:\program files\microsoft visual studio\vc98\atl\include\atlbase.h(5926) : error C2039: 'ResourceUnregisterSz' : is not a member of 'CComPtr'
。。。。。。
e:\program files\microsoft visual studio\vc98\atl\include\atlbase.h(5926) : error C2039: 'ResourceUnregisterSz' : is not a member of 'CComPtr'
e:\program files\microsoft visual studio\vc98\atl\include\atlbase.h(563) : see declaration of 'CComPtr'
Generating Code...
Error executing cl.exe.
Send.exe - 87 error(s), 0 warning(s)