Copy link to clipboard
Copied
I'm experiencing and issue in the sample project "ExternalWIndow".
http://download.macromedia.com/pub/developer/acrobat/sdk/dc/sdkDC_v1_win.zip
I've slightly modified the code in a way that I could have two documents open at once. But when i close one of the documents acrobat dc crashes.
I added the following code to IACWndProc()
if(openInExt){ | ||||||||||||
| ||||||||||||
openInExt = false; | ||||||||||||
return DefWindowProc (hwnd, msg, wParam, lParam); | ||||||||||||
} | ||||||||||||
openInExt = true; |
I also commented out the WM_Close code so that the previously opened document would stay open but after closing the document opened via AVDocOpenFromFile all other documents close and DC crashes. This only happens with Acrobat DC and not Reader.
What am i doing wrong?
Have something to add?
Find more inspiration, events, and resources on the new Adobe Community
Explore Now