这几天拿到一个应用程序,编译的时候出现如下错误:
c:/progra~1/miaf9d~1/vc98/include/imagehlp.h(959) : error C2061: syntax error : identifier 'LPWIN_CERTIFICATE'
c:/progra~1/miaf9d~1/vc98/include/imagehlp.h(985) : error C2061: syntax error : identifier 'LPWIN_CERTIFICATE'
c:/progra~1/miaf9d~1/vc98/include/imagehlp.h(994) : error C2061: syntax error : identifier 'LPWIN_CERTIFICATE'
Generating Code...
Error executing cl.exe.
解决方法如下:
将下面结构体的定义添加到“imagehlp.h”的开始处,重新build即可。