Moderators:PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Paul - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
Forum rules DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.
When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
I have the PDF editor embedded into the application being developed. The user is actively adding and removing annotations to the PDF.
When the user requests opening a new file, the old file is saved. This save is causing my application to crash. Do you have insight into why the save method is failing?
Well exact thing happens, just that I specified it happens on the second time the save is executed. does not trap error and crashes. EVERY TIME very annoying to have to keep reloading the project.
ce
From this code sample alone, we can't possibly know what the overall code that he has in his project. If there is a problem with multiple Instances reinitialization - that's one thing, if there is a problem somewhere in the logic - that's entirely different story. That's why I asked him to give me a sample project.
The problem was around initializing IPXV instances. I originally was trying to keep 2 instances, 1 on the UI and 1 on the background before I stumbled across a thread stating the same instance is used globally for Tracker's SDK. The exception was caused by finalizing the background instance and then trying to save a page on the UI instance. The background instance no longer shutdowns, it relies on the UI to shutdown its instance.