System.Runtime.InteropServices.COMException (0x8000FFFF)

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

Moderators: Daniel - PDF-XChange, PDF-XChange Support, Vasyl - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, 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.
Post Reply
JDobratzLakeco
User
Posts: 2
Joined: Fri Apr 07, 2023 2:44 pm

System.Runtime.InteropServices.COMException (0x8000FFFF)

Post 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?
User avatar
Roman - Tracker Supp
Site Admin
Posts: 332
Joined: Sun Nov 21, 2004 3:19 pm

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

Post by Roman - Tracker Supp »

Can you please provide a working sample of your code that reproduces the issue?
Along with sample input files.
Thanks.
kna
User
Posts: 1
Joined: Thu May 08, 2025 11:35 am

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

Post 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.
User avatar
Daniel - PDF-XChange
Site Admin
Posts: 10960
Joined: Wed Jan 03, 2018 6:52 pm

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

Post 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,
Dan McIntyre - Support Technician
PDF-XChange Co. LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
Post Reply