New Forum | Previous | Next | (P-PDF) Developers
Topic: DSAPFileEditNthEntry - wrong return code
Conf: (P-PDF) Developers, Msg: 110873
Date: 5/4/2004 05:16 PM
I am using DSAP* functions in order to edit signature appearance in appearances.acrodata.
According to the API reference the function DSAPFileEditNthEntry returns true only if "the changes to the entry were made and saved".
I found out that if I have another Adobe instance with the appearance UI opened, The function returns only after it shows a message box saying the file appearances.acrodata cannot be saved. That's reasonable and fine, the problem is that the function still returns rc == true.
Since I want to show my own message saying whether the operation succeeded or not, I need to get any indication that the operation failed. I tried to replace AVAlert with my implementation, but I could "catch" only my calls to AVAlert.
Any idea how can I get a better indication from this function?