Print Page | Close Window

Using PDFium renderer

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=3409
Printed Date: 28 Sep 24 at 11:00PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Using PDFium renderer
Posted By: Natalia
Subject: Using PDFium renderer
Date Posted: 23 Nov 16 at 8:33PM
Hello,

I'm trying to use new PDFium renderer with C++ DLL version of Quick PDF library.
http://www.debenu.com/docs/pdf_library_reference/SetPDFiumFileName.php" rel="nofollow - 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.



Replies:
Posted By: Ingo
Date Posted: 23 Nov 16 at 9:03PM
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



Posted By: Natalia
Date Posted: 23 Nov 16 at 9:10PM
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.


Posted By: Ingo
Date Posted: 23 Nov 16 at 10:00PM
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



Posted By: Natalia
Date Posted: 24 Nov 16 at 2:27PM
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 http://www.debenu.com/docs/pdf_library_reference/SetCairoFileName.php" rel="nofollow - 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.


Posted By: Ingo
Date Posted: 25 Nov 16 at 6:35PM
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



Posted By: Natalia
Date Posted: 01 Dec 16 at 3:27PM
I asked Debenu support the same question. They answered that the PDFium DLL is the release version is corrupted.


Posted By: Ingo
Date Posted: 01 Dec 16 at 8:57PM
good to hear for me and all the other ones:
Debenu support is online again :)



-------------
Cheers,
Ingo



Posted By: BobCave
Date Posted: 19 Dec 16 at 3:48PM
Originally posted by Natalia Natalia wrote:

I asked Debenu support the same question. They answered that the PDFium DLL is the release version is corrupted.

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().  


Posted By: Ingo
Date Posted: 19 Dec 16 at 5:24PM
Probably the next version - (what else) will offer a new version.
So stay tuned.

Cheers and welcome here,
Ingo



-------------
Cheers,
Ingo




Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk