Answered
Acrobat Pro DC crashes after my plugin open a document the second time
Here is my piece of code:
{
ASFileSys fileSys = ASGetDefaultUnicodeFileSys();
ASPathName pathName = ASFileSysCreatePathName(fileSys, ASAtomFromString("WinUnicodePath"), doc.filePath, NULL);
...
This code is called from an external program using menu item execution:
Set app = CreateObject(AcroExch.App)
app.menuItemExecute("ADBE:MyCommand")
My scenario is following:
- Launch the command: it opens the document in Acrobat
- Close Acrobat manually: Acrobat disappear but a process remains in the background
- Launch the command again: it opends the document and then crashes Acrobat outside of the plugin code
Additional information: the document contains some annotations. If annotations are not present, it seems to work.
Thank you in advance for your help
