上午我在创建了COM DLL后能正常,现在我再创建一个MFC DLL后,什么都没有操作,编译却报告下面的错误:c:\program files\microsoft visual studio\vc98\include\winnt.h(1092) : error C2146: syntax error : missing ';' before identifier 'KSPIN_LOCK'c:\program files\microsoft visual studio\vc98\include\winnt.h(1092) : fatal error C1004: unexpected end of file found
我没有修改这个文件呀,下面是原来的代码:
typedef UINT_PTR KSPIN_LOCK;
typedef KSPIN_LOCK *PKSPIN_LOCK;