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!
![]() |
Multi-threaded |
Post Reply ![]() |
Author | |
bb46970 ![]() Team Player ![]() Joined: 06 Mar 06 Status: Offline Points: 33 |
![]() ![]() ![]() ![]() ![]() Posted: 06 Mar 06 at 2:57PM |
Is printing with the TiSEDQuickPDF, Delphi component, multi-threaded safe?
|
|
![]() |
|
JanN ![]() Senior Member ![]() Joined: 29 Oct 05 Location: Germany Status: Offline Points: 116 |
![]() ![]() ![]() ![]() ![]() |
No, it is not. It uses the Printer object of Delphi, which seems to support only one print at time. When you try to use the PrintDocument function in several threads, you have to make it thread safe by yourself (CriticalSection for example). Otherwise exceptions are thrown.
I hope my description is sufficiant. ![]() ![]() |
|
![]() |
|
bb46970 ![]() Team Player ![]() Joined: 06 Mar 06 Status: Offline Points: 33 |
![]() ![]() ![]() ![]() ![]() |
Yup. Thanks. I figured that was probably the case, since it is a Delphi component.
|
|
![]() |
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