Sorry, this Topic is a following issue of the Topic "invalid floating-point operation" in WriteToFile .
If I want to embed a second time a document (see function inside link above), I get an error with the message 'false parameter' at the function 'OpenDocumentFromFile'.
It looks like the issue https://forum.pdf-xchange.com/ ... 67&t=24344, but I see no errors in Finalization of PXC_Inst.
Kinds regards
Holger Demoulin
False Parameter at second call of OpenDocumentFromFile SOLVED
Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Tracker Supp-Stefan
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.
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.
-
- User
- Posts: 7
- Joined: Mon Dec 05, 2016 12:11 pm
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
Re: False Parameter at second call of OpenDocumentFromFile SOLVED
Hello HDemo,
Please modify your code in a way that the IPXC_Inst will be created ONCE per program flow and finalized ONCE.
Cheers,
Alex
Please modify your code in a way that the IPXC_Inst will be created ONCE per program flow and finalized ONCE.
Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
-
- User
- Posts: 7
- Joined: Mon Dec 05, 2016 12:11 pm
Re: False Parameter at second call of OpenDocumentFromFile
Thank you, I have built a Singleton.
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
Re: False Parameter at second call of OpenDocumentFromFile
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ