如上,谢谢。

解决方案 »

  1.   

    是不是MFC和ATL有冲突,编译通不过,好像是说windows.h等已经被包括了?
      

  2.   

    Add following in stdafx.h 
    #include <afxwin.h>
    #include <afxdisp.h>
      

  3.   

    谢谢,错误减少了,但是编译器说WTL又出问题了:
    (1585) : error C2065: 'ImageList_Read' : undeclared identifier
    (1590) : error C2065: 'ImageList_Write' : undeclared identifier
    (8) : error C2856: #pragma hdrstop cannot be inside an #if blockImageList_Read 和ImageList_write is control of WTL.
      

  4.   

    是不是还需要#include <afxcmn.h>?