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 - Starting with Hello World
  FAQ FAQ  Forum Search   Register Register  Login Login

Starting with Hello World

 Post Reply Post Reply
Author
Message
mulfycrowh View Drop Down
Beginner
Beginner


Joined: 03 May 10
Status: Offline
Points: 18
Post Options Post Options   Thanks (0) Thanks(0)   Quote mulfycrowh Quote  Post ReplyReply Direct Link To This Post Topic: Starting with Hello World
    Posted: 04 May 10 at 6:01PM
Hello Everybody !
 
I downloaded the trial version and am trying to understand the "Hello World" sample (DLL).
I am starting debugging under Visual Studio and I am getting an unhandled exception when executing :

result = QuickPDFLibraryVersion(instanceID);

Could you help me ?

 

Back to Top
Jack View Drop Down
Team Player
Team Player
Avatar

Joined: 03 Jun 09
Location: Lompoc, CA
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote Jack Quote  Post ReplyReply Direct Link To This Post Posted: 04 May 10 at 7:16PM
It might be helpful to look at the complete code you are using before you get to the point where you get the error.  I use the Delphi version so I don't know if you need to create the QuickPDF object that you are calling, but that is a possibility.  I don't think you will get a valid result if you don't use the unlock procedure before you call any functions.
Back to Top
mulfycrowh View Drop Down
Beginner
Beginner


Joined: 03 May 10
Status: Offline
Points: 18
Post Options Post Options   Thanks (0) Thanks(0)   Quote mulfycrowh Quote  Post ReplyReply Direct Link To This Post Posted: 04 May 10 at 7:59PM
We might think that the sample would be ready to use ...
Back to Top
mulfycrowh View Drop Down
Beginner
Beginner


Joined: 03 May 10
Status: Offline
Points: 18
Post Options Post Options   Thanks (0) Thanks(0)   Quote mulfycrowh Quote  Post ReplyReply Direct Link To This Post Posted: 04 May 10 at 8:05PM
The code is :
 

// Declare and load Quick PDF Library DLL

QuickPDFDLL0717 QP("C:\\Program Files\\Quick PDF Library\DLL\\QuickPDFDLL0717.dll");

// Library key

// std::string strLicenseKey = "INSERT LICENSE KEY HERE";

std::string strLicenseKey = "Your_Key";

// PDF output filename

std::string strFileName = "hello-world.pdf";

// Display message containing the library version

std::string strMessage = ("Quick PDF Library Hello World sample");

strMessage.append("\n");

strMessage.append("Library version: " + QP.LibraryVersion());



Edited by Ingo - 04 May 10 at 8:49PM
Back to Top
Paddy View Drop Down
Beginner
Beginner


Joined: 24 Mar 10
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote Paddy Quote  Post ReplyReply Direct Link To This Post Posted: 04 May 10 at 8:27PM
Make sure that you actually have version 7.17 installed at "C:\\Program Files\\Quick PDF Library\DLL\\QuickPDFDLL0717.dll" and not version 7.18 or 7.19. Update your code based on which version you have installed. My guess is that the error is the result of the sample using a different version to the one you have installed.
Back to Top
mulfycrowh View Drop Down
Beginner
Beginner


Joined: 03 May 10
Status: Offline
Points: 18
Post Options Post Options   Thanks (0) Thanks(0)   Quote mulfycrowh Quote  Post ReplyReply Direct Link To This Post Posted: 04 May 10 at 10:04PM
You're right. I installed the version 7.18
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