使用CImage ,不可以静态连接么? 要带gdiplus.dll才可以?怪

解决方案 »

  1.   

    You can use CImage from either MFC or ATL.Note   When you create a project using CImage, you must define CString before you include atlimage.h. If your project uses ATL without MFC, include atlstr.h before you include atlimage.h. If your project uses MFC (or if it is an ATL project with MFC support), include afxstr.h before you include atlimage.h.Likewise, you must include atlimage.h before you include atlimpl.cpp. To accomplish this easily, include atlimage.h in your stdafx.h.Requirements
    Header: atlimage.h
      

  2.   

    debug下根一下,到vc内部,看看静态连接和其他的在那个分支下出毛病了。想办法在程序中增加需要连接的类似文件