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!
Error in QUICKPDFLIB0813_DllMain |
Post Reply |
Author | |
Snowfox
Beginner Joined: 08 Feb 12 Location: Switzerland Status: Offline Points: 1 |
Post Options
Thanks(0)
Posted: 08 Feb 12 at 4:27PM |
Hi
We bought a QuickPDF-license and we'd like to include the QuickPDF-functions in our Wrapper-DLL which we us as an extension for our development environment (Sybase Powerbuilder 11.5) I inlcuded the QuickPDF statically with the provided LIB-file with all it's dependencies and ressources and it compiles and links without errors. But at run-time I get the following error: An exception has occurred at 0x77aeb812 in PB115.EXE: 0xC0000005: access violation while writing at position 0x00090f30. This error fires when the bold line with the QUICKPDFLIB0813_DllMain function is executed: CPDF::CPDF(IPB_Session *session) : CBase(session), m_instanceID(0) { try { QUICKPDFLIB0813_DllMain(GetModuleHandle(NULL), DLL_PROCESS_ATTACH, NULL); this->m_instanceID = QuickPDFCreateLibrary(); } catch (...) { //... } } In the Getting Started Guide of the LIB-Edition is written, that "The LIB Edition of Quick PDF Library is generated automatically by converting the DLL Edition into a static link library." Maybe there is a problem when I include the quick-pdf LIB in a dll? What exactly does the QUICKPDFLIB0813_DllMain-Function? When I omit it, the following call to QuickPDFCreateLibrary() won't work neither. QuickPDF-Version: 8.13 QuickPDF-Edition: LIB Thanks in advance for any help! Edited by Snowfox - 08 Feb 12 at 4:32PM |
|
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