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!
![]() |
SaveToFile() fails |
Post Reply
|
| Author | |
Ardi
Beginner
Joined: 04 Dec 11 Status: Offline Points: 1 |
Post Options
Thanks(0)
Quote Reply
Topic: SaveToFile() failsPosted: 04 Dec 11 at 4:40AM |
|
Hello,
I tried to create my first pdf file. The steps taken were: 1) Load the dll library: LoadLibrary(...) 2) Get functions addr: GetProcAddress(...) to get addr for: a) QuickPDFCreateLibrary b) QuickPDFReleaseLibrary c) QuickPDFDrawText d) QuickPDFSetOrigin e) QuickPDFSaveToFile 3) Then I invoke the functions in the following order to write a simple text: a) QuickPDFCreateLibrary b) QuickPDFSetOrigin c) QuickPDFDrawText d) QuickPDFSaveToFile e) QuickPDFReleaseLibrary f) FreeLibrary() to free the dll All are successful except the QuickPDFSaveToFile() that returns 0. I am making sure that the parameters to the QuickPDFSaveToFile are of correct type (int, wchar_t*). The documentation for the QuickPDFSaveToFile() has no information on the possible causes of the failure. Thanks for your help. |
|
![]() |
|
Ingo
Moderator Group
Joined: 29 Oct 05 Status: Offline Points: 3530 |
Post Options
Thanks(0)
Quote Reply
Posted: 04 Dec 11 at 1:50PM |
|
Hi Ardi!
Good to know: What's the programming language you're using? Cheers and welcome here, Ingo |
|
![]() |
|
tadicboris
Beginner
Joined: 17 Apr 15 Location: Belgrade Status: Offline Points: 8 |
Post Options
Thanks(0)
Quote Reply
Posted: 17 Apr 15 at 8:18PM |
|
Does anyone has solution for this problem. I am using PDF Activex in Xojo and cant save pdf file!
|
|
![]() |
|
TLeoN12345
Beginner
Joined: 22 Jul 10 Status: Offline Points: 1 |
Post Options
Thanks(0)
Quote Reply
Posted: 22 Apr 15 at 4:07PM |
|
"Save to file" don't work for me too.
|
|
![]() |
|
erico
Senior Member
Joined: 24 Sep 14 Location: Minnesota USA Status: Offline Points: 51 |
Post Options
Thanks(0)
Quote Reply
Posted: 22 Apr 15 at 10:35PM |
|
More detail regarding the failure would really help. Check LastErrorCode, provide details regarding the circumstances, code snippet perhaps?
If SaveToFile had an intrinsic error, I think everyone would be having this problem. |
|
|
Eric O
|
|
![]() |
|
Ingo
Moderator Group
Joined: 29 Oct 05 Status: Offline Points: 3530 |
Post Options
Thanks(0)
Quote Reply
Posted: 23 Apr 15 at 7:46AM |
|
Like Erico told already:
LastErrorCode would help a lot. Next questions: Which version (dll or Delphi, lite, test, normal, activeX, 32- or 64-bit) you're using? Does this happen with all files? Is it possible to upload a problem file anywhere for checking? Here you can see samples how to work with QuickPDF: Cheers, Ingo |
|
|
Cheers,
Ingo |
|
![]() |
|
tadicboris
Beginner
Joined: 17 Apr 15 Location: Belgrade Status: Offline Points: 8 |
Post Options
Thanks(0)
Quote Reply
Posted: 24 Apr 15 at 8:38AM |
|
Solution for Xojo (ActiveX) is quite simple. You must enter licence key before save file. Thanks for all.
|
|
![]() |
|
mLipok
Senior Member
Joined: 23 Apr 14 Location: Poland, Zabrze Status: Offline Points: 453 |
Post Options
Thanks(0)
Quote Reply
Posted: 28 Apr 15 at 10:09AM |
|
I you are using commercial version, then you should enter you licence key, in the begining.
Just after you load the dll library.
|
|
|
Here you can find description how to test my examples:
http://www.quickpdf.org/forum/forum_posts.asp?TID=2932&PID=12600&title=drawcapturedpagematrix-matrix-howto#12600 |
|
![]() |
|
ogmiga
Beginner
Joined: 07 Sep 15 Location: Nigeria Status: Offline Points: 3 |
Post Options
Thanks(0)
Quote Reply
Posted: 07 Sep 15 at 8:49PM |
|
What is the unlock-key for the trail version. I cannot save to pdf file. Thanks
|
|
![]() |
|
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