Crashes while calling IPCX_Pages::InsertPagesFromDoc

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

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - 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.
SF-SM
User
Posts: 2
Joined: Tue Apr 21, 2026 1:51 pm

Crashes while calling IPCX_Pages::InsertPagesFromDoc

Post by SF-SM »

Hi,

I'm trying to merge multiple PDF documents using Core API and i'm currently running into either memory access violations or stack buffer overruns at InsertPagesFromDoc.
The first 4+ files seem to get merged without a problem then the application gets killed by by the fastfail routine.
The application calling the the API is 32-bit. The PDFs to merge are about 53 MB in total.

OS is Windows 11 Business 25H2
PDFXCoreAPI Version 10.2.1.385
User avatar
Paul - PDF-XChange
Site Admin
Posts: 7451
Joined: Wed Mar 25, 2009 10:37 pm

Re: Crashes while calling IPCX_Pages::InsertPagesFromDoc

Post by Paul - PDF-XChange »

Hi, SF-SM

a dev has been assigned this via the ticket RT#7814: Editor :: SDK :: Crashes while calling IPCX_Pages::InsertPagesFromDoc
Best regards

Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com
SF-SM
User
Posts: 2
Joined: Tue Apr 21, 2026 1:51 pm

Re: Crashes while calling IPCX_Pages::InsertPagesFromDoc

Post by SF-SM »

Hi,

I just tested merging the same files using the PDFXCoreAPI Version 10.8.5.410 and had the same result.

Kind regards