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!
Runtime error with ntdll.dll |
Post Reply |
Author | |
DigitalSignature
Beginner Joined: 20 Jan 21 Status: Offline Points: 12 |
Post Options
Thanks(0)
Posted: 27 Jan 21 at 9:02AM |
Hi, my application is in C/C++ for Windows platform & I'm trying to integrate Quick PDF library as a static library. I've followed the guide for setup from here. The code compiles, but I get Access violation writing location error on ntdll.dll the moment the first method DEBENUPDFLIBRARYLIB1212_DllMain is called. Has anyone encountered this issue? How do I go about resolving it?
|
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
Hi DigitalSignature (is this your real name? ;-)
are you sure to use the correct version of the dll for your needs? Please read here: https://www.debenu.com/products/development/debenu-pdf-library/ You'll need the LIB-version and here is a "how to" doing the first steps: https://www.debenu.com/products/development/debenu-pdf-library/getting-started/getting-started-lib-edition/ Cheers, good luck and welcome here, Ingo |
|
Cheers,
Ingo |
|
DigitalSignature
Beginner Joined: 20 Jan 21 Status: Offline Points: 12 |
Post Options
Thanks(0)
|
Hi @Ingo Yes, the link you have shared to work with static lib is the one I've used as reference. I'm able to compile my application but encountering errors during runtime. I tried using the DLL version guide and was able to work with it, but when it comes to static library I'm encountering Access violation writing location error with ntdll.dll
|
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
You did this all:
The DEBENUPDFLIBRARYLIB1212_DllMain function should be called once before using any of the other functions, using the DLL_PROCESS_ATTACH constant for the fdwReason parameter. The DPLCreateLibrary function must be called to initialize the library. An InstanceID will be returned which must be passed as the first parameter to all the other functions. When you are finished with the library, call DPLReleaseLibrary to release all allocated memory. Finally, before the application ends the DEBENUPDFLIBRARYLIB1212_DllMain function should be called again. This time the DLL_PROCESS_DETACH constant should be used. You've done the unlock before using any other functions? If this all don't help perhaps one of the linked dependencies have a wrong version? |
|
Cheers,
Ingo |
|
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