Page 1 of 1

False Parameter at second call of OpenDocumentFromFile

Posted: Tue Jan 03, 2017 10:40 am
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

Re: False Parameter at second call of OpenDocumentFromFile  SOLVED

Posted: Tue Jan 03, 2017 10:44 am
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

Re: False Parameter at second call of OpenDocumentFromFile

Posted: Thu Jan 05, 2017 3:06 pm
by HDemo
Thank you, I have built a Singleton.

:D

Re: False Parameter at second call of OpenDocumentFromFile

Posted: Thu Jan 05, 2017 3:15 pm
by Sasha - Tracker Dev Team
:)