Hey everyone ! I'm trying to use a filter chain like this:
FileSource f(filename.c_str(), false, new ZlibDecompressor(new DefaultDecryptorWithMAC(m_pwd.c_str())));
And it doesn't seem to want to work, where have I gone wrong ? I used the following chain:
DefaultEncryptorWithMAC *encryptor = new DefaultEncryptorWithMAC(m_pwd.c_str(), new ZlibCompressor( new FileSink(m_fullPath.c_str())));
to create the file i'm trying to open.
If I use the chain above to try and read the file back again with pumpAll set to true I get a Visual C++ Runtime error, abnormal program termination, If I don't set pumpAll in the FileSource as above MaxRetrievable() return's 0, and if I try to pumpMessages() after i've created the chain I get the same VC++ error. I used mingW to compile the library, and in testing it seems to all work fine.
Any input gratefully recieved, Cheers, Joe Skilton.
