-------------------Configuration: pro1 - Win32 Debug--------------------
Compiling...
WINOCC.CPP
D:\Program Files\Microsoft Visual Studio\VC98\MFC\SRC\WINOCC.CPP(416) : error C2027: use of undefined type 'CHandleMap'
        d:\program files\microsoft visual studio\vc98\mfc\include\afxstat_.h(109) : see declaration of 'CHandleMap'
D:\Program Files\Microsoft Visual Studio\VC98\MFC\SRC\WINOCC.CPP(416) : error C2227: left of '->LookupPermanent' must point to class/struct/union
执行 cl.exe 时出错.
Creating browse info file...pro1.exe - 1 error(s), 0 warning(s)
报错不知道是什么问题呀说是在WINOCC.CPP文件有问题可我没改什么呀?

解决方案 »

  1.   

    使用了没有定义的类型CHandleMap.代码怎么写的?
      

  2.   

    你在Google里搜索error C2027,答案就会出来了
      

  3.   

    CHandleMap 是系统带的,你是怎么建立工程的?
      

  4.   

    "->LookupPermanent"的左侧必须是一个CHandleMap类型的指针对象。
      

  5.   

    谢谢兄弟们帮助
    我什么都没做呀?
    开始用了一个FINDWINDOW函数,不过出了问题后来就删除了不过问题一直存在呀.