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!
![]() |
LoaderLock was detected |
Post Reply
|
| Author | |
softwaredev
Beginner
Joined: 01 Sep 09 Status: Offline Points: 17 |
Post Options
Thanks(0)
Quote Reply
Topic: LoaderLock was detectedPosted: 19 Aug 11 at 9:00PM |
|
have following code am running inside of Visual Studio 2010, .NET 3.5, VB.NET ... ' Create Image using QuickPDF Dim QP As QuickPDFAX0715.PDFLibrary Dim Result As Integer Dim lngFileHandle As Long Dim pageRef As Long Dim imageConversionResult As Integer QP = New QuickPDFAX0715.PDFLibrary Result = QP.UnlockKey("licensekehere") EVAL license lngFileHandle = QP.DAOpenFile(FILE_REPOSITORY & myRow.pFile_ID & "\" & myRow.pActive_version & myRow.pFile_Extension.ToUpper, "") pageRef = QP.DAFindPage(lngFileHandle, 1) imageConversionResult = QP.DARenderPageToFile(lngFileHandle, pageRef, 5, 75, strPNGImageFile) QP.DACloseFile(lngFileHandle) QP = Nothing On the line QP = New QuickPDFAX0715.PDFLibrary get following error. LoaderLock was detected. Attempting managed execution inside OS Loader lock. Do not attempt to run managed code inside a DllMain or image initialization function since doing so can cause the application to hang. Need help in finding out why the API is not working. Edited by softwaredev - 19 Aug 11 at 9:04PM |
|
![]() |
|
AndrewC
Moderator Group
Joined: 08 Dec 10 Location: Geelong, Aust Status: Offline Points: 841 |
Post Options
Thanks(0)
Quote Reply
Posted: 21 Aug 11 at 4:54AM |
|
Have you tried downloading the 7.26 release as there have have been more than a few changes to the ActiveX / DLL and .NET interface files.
The update can be downloaded from here. |
|
![]() |
|
softwaredev
Beginner
Joined: 01 Sep 09 Status: Offline Points: 17 |
Post Options
Thanks(0)
Quote Reply
Posted: 21 Aug 11 at 3:47PM |
|
Tried the 7.26 same results, get the same exact error.
|
|
![]() |
|
softwaredev
Beginner
Joined: 01 Sep 09 Status: Offline Points: 17 |
Post Options
Thanks(0)
Quote Reply
Posted: 21 Aug 11 at 3:52PM |
|
Just realized this error occurs only if I attempt a debug (F5) from within Visual Studio 2010. It does not get this error when directly launching the exe as normal program. Guess its a low priority in that case for me. Though if you have any idea of what is going on with the VS2010 and your ActiveX API that will help me in the development process |
|
![]() |
|
AndrewC
Moderator Group
Joined: 08 Dec 10 Location: Geelong, Aust Status: Offline Points: 841 |
Post Options
Thanks(0)
Quote Reply
Posted: 24 Aug 11 at 2:28AM |
|
I use VS 2010 and F5 all the time without getting this error. It could be a project setting or something similar. If you are getting the same results in 7.15 and 7.26 then it is most likely on your side as no one else has reported this problem.
Doing a Google or StackOverflow search turned up different solutions. It sounds like you might be using other DLL's in your project that could be causing problems. eg DirectX. Andrew |
|
![]() |
|
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