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 - Issue with PDF generation through PowerBuilder
  FAQ FAQ  Forum Search   Register Register  Login Login

Issue with PDF generation through PowerBuilder

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

Joined: 02 Dec 16
Location: Sydne
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ramendra Quote  Post ReplyReply Direct Link To This Post Topic: Issue with PDF generation through PowerBuilder
    Posted: 02 Dec 16 at 2:40AM

Hi Team

As per the guidelines, I installed QuickPDF Library 13.11 and can see all the functions mentioned for PowerBuilder at below location :

C:\Program Files (x86)\Debenu\PDF Library\DLL\Import\PowerBuilder\DebenuPDFLibraryDLL1311Unicode.inc

I added them to my Local External Function and added below code

int InstanceID
InstanceID = DPLCreateLibrary()
 
IF DPLUnlockKey(InstanceID,"my_unlock_key") = 1 THEN
 DPLDrawText(InstanceID, 100, 500, "Hello world")
 DPLSaveToFile(InstanceID, "C:\Docs\HelloFromDLL.pdf")
END IF

DPLReleaseLibrary(InstanceID);


But when I am running this code, I am getting the error "Error opening DLL Library "DebenuPDFLibraryDLL1311.dll"

To me it looks like a DLL registration issues.

Can someone please confirm how to get it running.

Thanks
Ramendra



Edited by Ingo - 03 Dec 16 at 12:14PM
Back to Top
Ramendra View Drop Down
Beginner
Beginner
Avatar

Joined: 02 Dec 16
Location: Sydne
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ramendra Quote  Post ReplyReply Direct Link To This Post Posted: 02 Dec 16 at 4:59AM
Hi All,
 
I figure out the problem which was causing the error "Error opening DLL Library "DebenuPDFLibraryDLL1311.dll"
 
I placed the DLL "DebenuPDFLibraryDLL1311.dll" in the same folder with my Code and I am able to get the "InstanceID" from DPLCreateLibrary()
 
But, I am still getting ZERO from function DPLUnlockKey(InstanceID,"my_unlock_key")
 
I tried couple of license keys but the same return value.
 
Any help is highly appreciated!
 
Thanks
Ramendra


Edited by Ingo - 03 Dec 16 at 12:14PM
Back to Top
jpbro View Drop Down
Senior Member
Senior Member


Joined: 29 Mar 11
Status: Offline
Points: 77
Post Options Post Options   Thanks (0) Thanks(0)   Quote jpbro Quote  Post ReplyReply Direct Link To This Post Posted: 02 Dec 16 at 6:54PM
Have you purchased a license? If so, you shouldn't be posting your license key publicly!

If not, you shouldn't be using someone else's license key.
Back to Top
Ramendra View Drop Down
Beginner
Beginner
Avatar

Joined: 02 Dec 16
Location: Sydne
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ramendra Quote  Post ReplyReply Direct Link To This Post Posted: 04 Dec 16 at 11:51PM

I am using Trial license..

Can you please help me with the problem I am facing..
 
Back to Top
Wheeley View Drop Down
Senior Member
Senior Member
Avatar

Joined: 30 Oct 05
Location: United States
Status: Offline
Points: 146
Post Options Post Options   Thanks (0) Thanks(0)   Quote Wheeley Quote  Post ReplyReply Direct Link To This Post Posted: 05 Dec 16 at 9:06AM
Which version of Powerbuiilder are you using?Also, how have you declared your local external function? You may be running it an Ansi/Unicode string issue.
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