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!
CoPDFLibrary.Create Hanging |
Post Reply |
Author | |
morganl87
Beginner Joined: 21 Sep 17 Location: Bermuda Status: Offline Points: 3 |
Post Options
Thanks(0)
Posted: 21 Sep 17 at 3:11PM |
Hi,
I'm using Delphi Berlin and I've downloaded QuickPDFLite1114. I've registered the DLL, added the Type Library, and now I'm trying to use it. I've added DebenuPDFLibraryLite1114_TLB to my 'uses' and declared the variable PDFLib : PDFLibary. When I execute PDFLib := CoPDFLibrary.Create it hangs until I force quit. I swear I got it to work once, but since then I've been having problems. Any ideas? Thanks, Morgan
|
|
morganl87
Beginner Joined: 21 Sep 17 Location: Bermuda Status: Offline Points: 3 |
Post Options
Thanks(0)
|
Just in case anyone has this problem in the future, here was the issue:
There is a call in my application that sets Math.SetRoundMode(rmUp). CreateOleVariant doesn't like this apparently. As soon as I set it back to the default, Math.SetRoundMode(rmNearest), tada! It works perfectly. I just hope no one else has to go through that debugging process.
|
|
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