> The bug appears (I'm checking this more closely) to be that > CloseDocument() is not called when switching from one document to > another, so ReleaseUncompressKey() is never called. I'm not sure how
Nope, wrong again, CloseDocument() is being called. The bug was a
bogus call to SetUncompressKey("") at the beginning of OpenDocument().
Fixed.
Bill
