【发布时间】:2013-03-20 08:18:00
【问题描述】:
我正在一个使用现有 C++ 代码的项目中工作,但我缺少 zlib.h,windows 不支持它,所以我需要找到一种方法来使用其他库。
例如此代码不起作用:
uLongf outLength = m_outLength;
uncompress(reinterpret_cast<Bytef*>(m_outBuf), &outLength,
reinterpret_cast<Bytef*>(m_inBuf), m_inLength);
m_outOffs = 0;
黑色的错误
uLongf
uncompress
Bytef
有没有办法用另一个库或其他方式来做到这一点,或者将zlib 移植到项目中。我正在使用 Visual Studio 2012。
我希望有人可以帮助我。
【问题讨论】:
标签: c++ windows-runtime windows-phone-8 zlib