Print Page | Close Window

V. 7.14 fail to open the PDF

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=1147
Printed Date: 29 Sep 24 at 12:24AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: V. 7.14 fail to open the PDF
Posted By: mikle74
Subject: V. 7.14 fail to open the PDF
Date Posted: 14 Jul 09 at 9:59AM
Hello,

My .NET 2008 QuickPDF v.7.14 based application fails to open the following file. RenderPageToVariant does not return correct image data for first page of this file. Second page gets rendered OK.

http://www.filex.bbconsult.co.uk/?id=kaAHiKAgb

Can you please check why this happens?

Regards,
Mick



Replies:
Posted By: DELBEKE
Date Posted: 14 Jul 09 at 10:38AM
Hi mikle
I have  open your pdf with my pdf viewer (writen in vb6 with the activex 7.14) with no problem.
in my viewer, I use rendertodc


Posted By: mikle74
Date Posted: 14 Jul 09 at 11:03AM
So seems the problem is related to RenderPageToVariant. A bit strange - this function should work same as RenderToDoc... Perhaps someone of developers can comment this issue?


Posted By: mikle74
Date Posted: 14 Jul 09 at 11:05AM
Ah, you're Dev Team, sorry. I'll check render to DC however it looks a bit strange that I need to switch to another function to get the library working on some particular PDF file.. :)


Posted By: mikle74
Date Posted: 14 Jul 09 at 11:13AM
DELBEKE, can you please copy here your VB code that uses RenderToDC fucntion? I need it to get idea how to deal with device contexts.

Thanks,
Mick


Posted By: Ingo
Date Posted: 15 Jul 09 at 10:35PM
Hi Mick!

It's here:
http://www.quickpdf.org/forum/topic933_post5182.html#5182
BTW: Use the search function (above) and you'll find a lot of source samples ;-)

Cheers, Ingo



Posted By: DELBEKE
Date Posted: 16 Jul 09 at 6:45AM
Hi Mikle
 
The RenderPageToVariant may return null chars in the data, nd the nul char, for some compilers is the end of a string. Perhaps it's the problem.
My title Dev Team Member is no longer valid. I have stopped my activity since Debenu begin to distribute it's new version.



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