摘要:
今天在用GDI+写程序时,有 bmp = new Bitmap(L"E:\\1.png");用VC6 SP6或VS2005编译错误为error C2660: 'new' : function does not take 3 parameters这是VC的一个BUG,微软至今还没有解除。解决办法如下:法一:在该CPP文件开头部分注释掉#define new DEBUG_NEW#ifdef_DEBUG//#define new DEBUG_NEW#undefTHIS_FILEstaticcharTHIS_FILE[] = __FILE__;#endif建议法二: 阅读全文
posted @ 2011-05-05 17:56
carekee
阅读(3152)
评论(1)
推荐(1)
浙公网安备 33010602011771号