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!
![]() |
Using PDFium renderer |
Post Reply ![]() |
Author | |
Natalia ![]() Beginner ![]() Joined: 10 Aug 15 Status: Offline Points: 12 |
![]() ![]() ![]() ![]() ![]() Posted: 23 Nov 16 at 8:33PM |
Hello,
I'm trying to use new PDFium renderer with C++ DLL version of Quick PDF library. SetPDFiumFileName always returns 0. To ensure the path is specified correctly, I called SetCairoFileName with the name of the same PDFium DLL, and the function succeeded. What is the correct way modifying the renderer? Thanks, Natalia. |
|
![]() |
|
Ingo ![]() Moderator Group ![]() ![]() Joined: 29 Oct 05 Status: Offline Points: 3529 |
![]() ![]() ![]() ![]() ![]() |
Hi Natalia,
this is from the reference guide: If PDFium is used, the SetPDFiumFileName function should be used to set the path to the DPLPDFium DLL, either 32-bit or 64-bit as appropriate. Second should be SelectRenderer: http://www.debenu.com/docs/pdf_library_reference/SelectRenderer.php If this doesn't succeed then there's a prob with your pdfium-installation i think. If you'll succeed it would be kind posting a "first steps using PDFium-renderer" into the samples section ;-) Cheers and welcome here, Ingo |
|
Cheers,
Ingo |
|
![]() |
|
Natalia ![]() Beginner ![]() Joined: 10 Aug 15 Status: Offline Points: 12 |
![]() ![]() ![]() ![]() ![]() |
Thanks Ingo,
Do I have to install PDFium, or it is enough to copy QPL1311PDFium64.dll, and set PDFium file name in the application? In my environment setting file name always fails, setting renderer seems to succeed even without setting file name, but, as far as I understood, default renderer is used anyway. |
|
![]() |
|
Ingo ![]() Moderator Group ![]() ![]() Joined: 29 Oct 05 Status: Offline Points: 3529 |
![]() ![]() ![]() ![]() ![]() |
on a 64-bit-system the 64-bit-dll should be in the system32-path.
on a 64-bit-system the 32-bit-dll should be in the syswow64-path. on a 32-bit-system the 32-bit-dll should be in the system32-path. Please be sure to use the QuickPDF-64-bit-dll as well. |
|
Cheers,
Ingo |
|
![]() |
|
Natalia ![]() Beginner ![]() Joined: 10 Aug 15 Status: Offline Points: 12 |
![]() ![]() ![]() ![]() ![]() |
I don't think my problem is in the path. I tried specifying the full path, place the DLL in the working folder or System32, it did not make any difference. When I call SetCairoFileName with the same DLL on the same location, the function succeeds.
My test app is simple 64 bit app running on 64 bit Windows 2012 R2, all DLLs are 64 bit. |
|
![]() |
|
Ingo ![]() Moderator Group ![]() ![]() Joined: 29 Oct 05 Status: Offline Points: 3529 |
![]() ![]() ![]() ![]() ![]() |
Perhaps it makes sense to post the relevant code part?
Another idea: If the cairo call works then cairo files and installation is okay. If the pdfium call doesn't work then ... ;-) |
|
Cheers,
Ingo |
|
![]() |
|
Natalia ![]() Beginner ![]() Joined: 10 Aug 15 Status: Offline Points: 12 |
![]() ![]() ![]() ![]() ![]() |
I asked Debenu support the same question. They answered that the PDFium DLL is the release version is corrupted.
|
|
![]() |
|
Ingo ![]() Moderator Group ![]() ![]() Joined: 29 Oct 05 Status: Offline Points: 3529 |
![]() ![]() ![]() ![]() ![]() |
good to hear for me and all the other ones:
Debenu support is online again :) |
|
Cheers,
Ingo |
|
![]() |
|
BobCave ![]() Beginner ![]() Joined: 19 Dec 16 Location: Maine, USA Status: Offline Points: 1 |
![]() ![]() ![]() ![]() ![]() |
Did the support folks tell you how to get a valid PDFium DLL? We downloaded v13 last week, and I am having the same problem when I call SetPDFiumFileName().
|
|
![]() |
|
Ingo ![]() Moderator Group ![]() ![]() Joined: 29 Oct 05 Status: Offline Points: 3529 |
![]() ![]() ![]() ![]() ![]() |
Probably the next version - (what else) will offer a new version.
So stay tuned. Cheers and welcome here, Ingo |
|
Cheers,
Ingo |
|
![]() |
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