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!
![]() |
PDFLibrary crashes in constructor |
Post Reply
|
| Author | |
ctodor
Beginner
Joined: 15 Sep 11 Location: Romania Status: Offline Points: 3 |
Post Options
Thanks(0)
Quote Reply
Topic: PDFLibrary crashes in constructorPosted: 15 Sep 11 at 12:06PM |
|
Hi,
Ive just download the latest trial version (QuickPDFDLL0811) from your site and I'm trying to use it in some C# application. Unfortunately app. crashes when I try to instantiate PDFLibrary. As far as I saw it seems LoadLibrary failed to load the dll. Also LoadLibrary fct. call from "my code" failed, the error returned by Marshal.GetLastWin32Error() is 1008 (ERROR_NO_TOKEN). I'm using VS 2008, Windows7, SP1 Thanks. Cosma |
|
![]() |
|
ctodor
Beginner
Joined: 15 Sep 11 Location: Romania Status: Offline Points: 3 |
Post Options
Thanks(0)
Quote Reply
Posted: 15 Sep 11 at 12:07PM |
|
Forgot to mention: previously I've used your lite version and it didn't crash.
|
|
![]() |
|
AndrewC
Moderator Group
Joined: 08 Dec 10 Location: Geelong, Aust Status: Offline Points: 841 |
Post Options
Thanks(0)
Quote Reply
Posted: 20 Sep 11 at 4:17PM |
|
Have you managed to get this working yet ?
Are you using the 1. Lite version (ActiveX) or 2. DLL Version or 3. ActiveX Version ? There may be a problem with the ActiveX with 8.11 that we are still investigating. One person has reported that they need to now call CoIntialize(NULL) with the ActiveX version. I am not having any problems with QPL811 DLL version with C# and VS2010. Maybe you could post a small sample of your code. |
|
![]() |
|
ctodor
Beginner
Joined: 15 Sep 11 Location: Romania Status: Offline Points: 3 |
Post Options
Thanks(0)
Quote Reply
Posted: 20 Sep 11 at 7:35PM |
|
I'm using the dll version and I've found the issue. I used "Any CPU" config., switching to x86 config. fix the issue. Thx you ask.
Cosma
|
|
![]() |
|
AndrewC
Moderator Group
Joined: 08 Dec 10 Location: Geelong, Aust Status: Offline Points: 841 |
Post Options
Thanks(0)
Quote Reply
Posted: 21 Sep 11 at 6:39AM |
|
Good to hear you have found the problem. Forgetting to set the Target Platform to x86 is a common issue I will make a recommendation that the documentation clearly mentions this in future.
|
|
![]() |
|
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