Print Page | Close Window

Catastrophic Failure using DeletePages()

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=255
Printed Date: 13 May 24 at 8:49PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Catastrophic Failure using DeletePages()
Posted By: bogey
Subject: Catastrophic Failure using DeletePages()
Date Posted: 11 Jan 06 at 9:48AM

I have code the merges a series of PDFs together and have started to encounter errors. I am running version 4.15* and receiving the following message:

error '8000ffff'

Catastrophic failure

/home/groups/public/documents/program/Forms_Merge_test.asp, line 55

This line of code is calling the QP.DeletePages(1,1) method. It does not happen on all sets of PDFs.

This is part of a process that merges multiple PDFs files together. The basic flow of the program uses the QP.NewDocument to create a base file, then merges a list of files using the QP.LoadFromFile() and QP.MergeDocument() methods. After all files are merged, the DeletePages() method is called to remove the initial blank page.

This process has been working for some time. I am thinking I am hitting a memory limit or memory leak.

Does anyone have any suggestions on this one?

* I am not running version 5.11 of the library because of bugs encountered merging forms with numerous fillable fields.

 




Replies:
Posted By: bogey
Date Posted: 13 Jan 06 at 11:24AM

I have rewritten the application to merge the files in the file system instead of memory and eliminated the need for the DeletePages() call.

The process of merging the files in memory was corrupting the PDF to the point where I could not delete pages.

 




Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk