Print Page | Close Window

PDF Viewer SDK Rendering Engine

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=2939
Printed Date: 03 May 24 at 1:45PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: PDF Viewer SDK Rendering Engine
Posted By: JohnTMD
Subject: PDF Viewer SDK Rendering Engine
Date Posted: 21 Jul 14 at 5:50PM
In Delphi, the following results in the Viewer displaying black pages.
The correct number of pages is displayed, so the PDF is loaded.

DPVActiveX1.DQPLSetDPLRFileName(ExtractFilePath(Application.exename)+ '\DebenuPDFRendererDLL1015.dll');

Rendererint := DPVActiveX1.DQPLSelectRenderer(3);

Selecting 1 or 2 as the renderer works, but the quality is poor.

I have verified that the DLL's and OCX are in the application's directory.

TIA for any hints.

John




Replies:
Posted By: Ingo
Date Posted: 22 Jul 14 at 12:05PM
Hi John,
 
ExtractFilePath should extract the path WITH the ending backslash.
So you've two backslashes and the dll won't be found.
 
Cheers and welcome here,
Ingo
 


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



Posted By: JohnTMD
Date Posted: 22 Jul 14 at 5:46PM
Ingo,

Thanks for the help.
Unfortunately, I tried it without the additional backslash with the same results.
BUT, it is even more embarrassing!  Embarrassed

I had inadvertently deleted the rendering DLL when I uninstalled the viewer trial and went to the licensed version.

Its always the pennies that hold up the dollar!!!

Thanks again. Your help pointed me in the right direction.

All is working well.

John



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