Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - DAOpenFile fails with error 409
  FAQ FAQ  Forum Search   Register Register  Login Login

DAOpenFile fails with error 409

 Post Reply Post Reply
Author
Message
cscooper View Drop Down
Beginner
Beginner
Avatar

Joined: 06 Apr 12
Location: Boulder, CO
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote cscooper Quote  Post ReplyReply Direct Link To This Post Topic: DAOpenFile fails with error 409
    Posted: 06 Apr 12 at 4:41PM
I can open many PDF files using DAOpenFile, but I've got one PDF file for which DAOpenFile fails with error 409 = "Invalid file structure, file is damaged".  It's definitely a strange PDF, but the previewer inside the system File Open dialog is able to display it, and it opens just fine inside Adobe Reader.

BTW, I'm running the latest 8.14 DLL (just downloaded it yesterday).

Adobe Reader says it's PDF version 1.4, it's SECURED, and it's got forms.

Is 409 the error that gets returned when you have a password-protected PDF file but didn't specify the password?

Is there any way to open the file "read-only" or similar (so the password protection doesn't matter)?

Thanks,
Chris

Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3529
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 06 Apr 12 at 7:45PM
Hi Chris!

It would be good to upload the file anywhere on a free webhosting service so that we're able to test it by our own.
There are two optional passwords for pdf-documents:
One is the main password for a (very) basically protection of the made pdf-settings. This password is nearly unvisible for normal readers of the documents 'cause there's nothing to do.
The other (seldom used) password is the user-password. You need to enter it after loading but before reading the document.
An unknown main password doesn't matter ... you can read the document without problems.
An unknown user password prevent from reading or extracting the content.
A read only modus won't help you reading the file 'cause a pdf-reader has to interpret the content and for this internally objects and structures has to be built in the background and this isn't possible with your one pdf-document.
Please keep in mind that QuickPDF is a small but comprehensive pdf-library with only few mbytes. An adobe reader installation comes along with an over 100 mbytes installation with many dlls so often it's possible to overact some errors in a pdf - for the small QuickPDF sometimes not.

Cheers and welcome here,
Ingo

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store