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!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - PDFLibrary crashes in constructor
  FAQ FAQ  Forum Search   Register Register  Login Login

PDFLibrary crashes in constructor

 Post Reply Post Reply
Author
Message
ctodor View Drop Down
Beginner
Beginner


Joined: 15 Sep 11
Location: Romania
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote ctodor Quote  Post ReplyReply Direct Link To This Post Topic: PDFLibrary crashes in constructor
    Posted: 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

Back to Top
ctodor View Drop Down
Beginner
Beginner


Joined: 15 Sep 11
Location: Romania
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote ctodor Quote  Post ReplyReply Direct Link To This Post Posted: 15 Sep 11 at 12:07PM
Forgot to mention: previously I've used your lite version and it didn't crash.
Back to Top
AndrewC View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 08 Dec 10
Location: Geelong, Aust
Status: Offline
Points: 841
Post Options Post Options   Thanks (0) Thanks(0)   Quote AndrewC Quote  Post ReplyReply Direct Link To This Post 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.

Back to Top
ctodor View Drop Down
Beginner
Beginner


Joined: 15 Sep 11
Location: Romania
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote ctodor Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
AndrewC View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 08 Dec 10
Location: Geelong, Aust
Status: Offline
Points: 841
Post Options Post Options   Thanks (0) Thanks(0)   Quote AndrewC Quote  Post ReplyReply Direct Link To This Post 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.


Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store