摘要: 遇到这样的问题令我极为郁闷,于是查找了一下,找到了解决方案:原来是微软的 DEBUG_NEW 和 GDI+ 不匹配造成的。方法1:注释掉:#ifdef _DEBUG#define new DEBUG_NEW#endif这就好了。方法2:::new Bitmap(cx,cy,PixelFormat32bppRGB); //加上全局作用域说明符方法3:详细见:Microsoft Foundation Classes DEBUG_NEW Does Not Work with GDI+http://support.microsoft.com/kb/317799/ 阅读全文
posted @ 2013-05-03 18:13 执迷不悟~ 阅读(1478) 评论(0) 推荐(0)