一个工程,编译时报错! Compiling... WINOCC.CPP D:/Microsoft Visual Studio/VC98/MFC/SRC/WINOCC.CPP(416) : error C2027: use of undefined type 'CHandleMap' d:/microsoft visual studio/vc98/mfc/include/afxstat_.h(109) : see declaration of 'CHandleMap' D:/Microsoft Visual Studio/VC98/MFC/SRC/WINOCC.CPP(416) : error C2227: left of '->LookupPermanent' must point to class/struct/union Error executing cl.exe. 费了很多时间,重装系统,在stdafx.h文件中include 'afxstat_.h',结果还是不行,把.clw等文件删除,还是不行,后来把FileView里面把WINOCC.CPP文件删除,编译,通过。到现在都不知道怎么回事。只是觉得编译通过了。之前还查了好多网页,MSDN。
|