False Parameter at second call of OpenDocumentFromFile  SOLVED

A forum for questions or concerns related to the PDF-XChange Core API SDK

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.
Post Reply
HDemo
User
Posts: 7
Joined: Mon Dec 05, 2016 12:11 pm

False Parameter at second call of OpenDocumentFromFile

Post by HDemo »

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
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: False Parameter at second call of OpenDocumentFromFile  SOLVED

Post by Sasha - Tracker Dev Team »

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
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
HDemo
User
Posts: 7
Joined: Mon Dec 05, 2016 12:11 pm

Re: False Parameter at second call of OpenDocumentFromFile

Post by HDemo »

Thank you, I have built a Singleton.

:D
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: False Parameter at second call of OpenDocumentFromFile

Post by Sasha - Tracker Dev Team »

:)
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
Post Reply