這幾天拿到一個應用程序,編譯的時候出現如下錯誤:
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即可。