直接在vc6.0的工程中点右键添加的头文件。但包含时没写路径。
d:\programfile\vc98\include\list.h(37) : error C2146: syntax error : missing ';' before identifier 'Length'
d:\programfile\vc98\include\list.h(37) : error C2501: 'DWORD' : missing storage-class or type specifiers
d:\programfile\vc98\include\list.h(37) : error C2501: 'Length' : missing storage-class or type specifiers
d:\programfile\vc98\include\list.h(53) : error C2146: syntax error : missing ';' before identifier 'GetPrevLink'
d:\programfile\vc98\include\list.h(53) : error C2433: 'WINAPI' : 'inline' not permitted on data declarations
d:\programfile\vc98\include\list.h(53) : fatal error C1004: unexpected end of file found
执行 cl.exe 时出错.
后来把要用的文件复制到当前工程目录下再点右键添加就好了