New Forum | Previous | Next | (P-PDF) Developers
Topic: Acrobat 6 plugin causes error when after 'Save As
Conf: (P-PDF) Developers, Msg: 107156
Date: 3/6/2004 02:31 AM
We have written a plugin in C++ to Acrobat 6 Pro using the SDK. When doing "Save As" in Acrobat the following error message is received: "This document was successfully saved, but an error occurred after saving the document. Please close and reopen the document." If I open the same PDF without restarting Acrobat I often get "Internal Error" or "Error... (109)". After restarting Acrobat everything works perfect until the next Save As.
A normal save does always work.
I commented code and tried to pinpoint the erroneous code but I have not succeeded. I think it has something with the callbacks: OnFrontDocChange or OnDocSave to do. I use them to save (PDDocSetInfo) and load (PDDocGetInfo) metadata in the PDF. But if I remove that code it still does not work!?
I have searched the web and forum but not found anything. Any hints?