cximage简单问题?
CxImage* image = new CxImage();
delete image;
为何报错?
This may be due to a corruption of the heap, and indicates a bug in gg.exe or any of the DLLs it has loaded.
[解决办法]
如果是调用的DLL,很有可能是编译的模式不对,应该保持都是DEBUG或RELEASE,如果是在程序里直接使用类,应该是析构函数里处理出错。
[解决办法]
1、new delete中间还有别的语句吗?是否有删除该类的语句;
2、内存紊乱;
3、Cximage库本身有问题。