InfoZip打包类移植到VC2005,压缩时报错
在网上下载了“一个在MFC环境中使用的 InfoZip打包类”,在VC6.0上压缩,解压均运行正常。移植到VC2005后,解压.zip文件正常,但是压缩文件时报错,不知大家有没有遇见过类似的问题。报错信息如下:
Windows has triggered a breakpoint in FounderFontAdmin.exe.
This may be due to a corruption of the heap, and indicates a bug in FounderFontAdmin.exe or any of the DLLs it has loaded.
The output window may have more diagnostic information
注:文件还是能正常压缩,运行到int iProcessedCount = m_ZipDllExec(&zpParams); 地方报错的。