Print Page | Close Window

Unable to unlock QuickPDF in 3rd Party Application

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: General Discussion
Forum Description: Discussion board for Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=4011
Printed Date: 26 Apr 24 at 2:47PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Unable to unlock QuickPDF in 3rd Party Application
Posted By: jaapied
Subject: Unable to unlock QuickPDF in 3rd Party Application
Date Posted: 11 May 23 at 1:31AM
Hello,

*** This is a question regarding a 3rd party application that uses debenu quick pdf (DebenuPDFLibrary1115.dll). I am seeking support with the software provider as well. I wanted to find out what this error normally means from people who might actually know ***

At my work, we use a management system called Synergetic. I am one of the administrators of the system and the domain. Synergetic uses QuickPDF to generate statements etc however when a member of staff tries to generate said statements, they will invariably get the message "Unable to unlock QuickPDF". I am able to generate PDFs without issue however.

I wanted to know what this error actually means and if it could be caused by incorrect file permissisons or something of that nature.

I appreciate that you know very little about our system and may not be able to help, I am only after any little pointers or possible places to look. I don't think the software vendor has much idea either to tell the truth.

Thanks,

Jacob



Replies:
Posted By: tfrost
Date Posted: 11 May 23 at 10:13AM
To use QuickPDF functions, after creating a instance qp, you would normally call a function to unlock it:

    qp := TDebenuPDFLibrary.Create;   
    res := qp.UnlockKey(myunlockkey);

(forgive the Delphi code if you are not familiar with Pascal)

If the myunlockkey string value does not contain the developer's license key, the res value will be zero and the library functions can not be used on the instance. The message you quote seems to be something the calling program issues to report the failure.

Until I bought the QPDF source code, I used to build the license code as a literal into the definition of myunlockkey; but if the program works for you but not for someone else, my guess is that the code is being loaded from a file or a registry value which is not available on the machine where it fails. You would have to consult the developer about this.

If you cannot find the key on your own machine and the program developer cannot help, you might be able to use a utility like PROCMON to report file and registry accesses during startup to find likely candidates.




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