Print Page | Close Window

RenderDocumentToFile

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=2122
Printed Date: 09 May 24 at 6:43PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: RenderDocumentToFile
Posted By: abacuc
Subject: RenderDocumentToFile
Date Posted: 30 Jan 12 at 11:30AM
I'm using RenderDocumentToFile function in a multithread environment since I noticed that the application main form starts to be freezed and unresponsive. But it seems that the function runs on an additional separate thread causing the application to loose the control on the library sometimes so i obtaine blank image instead the original in the file. The library instance is created in the same thread where I run the function. Does the library run the rendering operation on a new thread?

Since I read a FAQ stating "Quick PDF Library can be used in a multithreaded environment so long as a separate instance of the library is created by each thread." and this is my case. How can I use this function avoiding application main form freezing?



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