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!
![]() |
Starting with Hello World |
Post Reply
|
| Author | |
mulfycrowh
Beginner
Joined: 03 May 10 Status: Offline Points: 18 |
Post Options
Thanks(0)
Quote Reply
Topic: Starting with Hello WorldPosted: 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 ? |
|
![]() |
|
Jack
Team Player
Joined: 03 Jun 09 Location: Lompoc, CA Status: Offline Points: 22 |
Post Options
Thanks(0)
Quote Reply
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.
|
|
![]() |
|
mulfycrowh
Beginner
Joined: 03 May 10 Status: Offline Points: 18 |
Post Options
Thanks(0)
Quote Reply
Posted: 04 May 10 at 7:59PM |
|
We might think that the sample would be ready to use ...
|
|
![]() |
|
mulfycrowh
Beginner
Joined: 03 May 10 Status: Offline Points: 18 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
Paddy
Beginner
Joined: 24 Mar 10 Status: Offline Points: 8 |
Post Options
Thanks(0)
Quote Reply
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.
|
|
![]() |
|
mulfycrowh
Beginner
Joined: 03 May 10 Status: Offline Points: 18 |
Post Options
Thanks(0)
Quote Reply
Posted: 04 May 10 at 10:04PM |
|
You're right. I installed the version 7.18
|
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store