Page 1 of 1

System.Runtime.InteropServices.COMException (0x8000FFFF)

Posted: Wed May 10, 2023 1:49 pm
by JDobratzLakeco
I have installed PDF-XChange PRO SDK version 9.4.364.0.
I have a piece of code that merges two pdfs together and on the IPXC_Document.WriteToFile call, I receive the following error:
System.Runtime.InteropServices.COMException (0x8000FFFF)

As far as I can tell, I have every piece of the PDF-XChange PRO SDK installed that I can and all the calls I have using these com objects before this work as they should. Can someone tell me what I am missing?

Re: System.Runtime.InteropServices.COMException (0x8000FFFF)

Posted: Mon May 22, 2023 5:36 pm
by Roman - Tracker Supp
Can you please provide a working sample of your code that reproduces the issue?
Along with sample input files.
Thanks.

Re: System.Runtime.InteropServices.COMException (0x8000FFFF)

Posted: Thu May 08, 2025 11:50 am
by kna
Hello support team,

how was this problem solved? I have a similar problem with the PDF-XChange Editor SDK Version: 10.5.0.393.

I created a procedure, that replaces pages of one pdf file by the pages of another pdf file. This procedure i use at different places in my code. When i use it at one part, i receive the same error message: System.Runtime.InteropServices.COMException (0x8000FFFF). When i use the same procedure at another part of my code, exactly the same procedure with exactly the same pdf-files is running without an error message.

One difference between the two parts is, that at one part i first open a windows form with the pdf XChange control. Here the code is running. When i use the procedure without first opening the windows form with the control, i receive the error message.

Re: System.Runtime.InteropServices.COMException (0x8000FFFF)

Posted: Thu May 08, 2025 8:16 pm
by Daniel - PDF-XChange
Hello, kna

I am unsure how or if the previous issue was resolved, but given that it has been 2 years, what you are experiencing could be a different issue to begin with. Ideally, we would request that you send the same items Roman asked for last time, so we can look into your situation directly:
Roman - Tracker Supp wrote: Mon May 22, 2023 5:36 pm Can you please provide a working sample of your code that reproduces the issue?
Along with sample input files.
Thanks.
Kind regards,