Print Page | Close Window

Dll Register Error 0x80004005

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=1614
Printed Date: 29 Apr 25 at 9:15AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Dll Register Error 0x80004005
Posted By: Kevin@VMG
Subject: Dll Register Error 0x80004005
Date Posted: 25 Oct 10 at 10:14AM
Hello,
 
I'm trying to register the dll for QuickPDF Library so I can use it in Visual Studio 2010. I'm programming in C# language. But when I want to register the dll I get the 0x80004005 error.
I looked it up at the internet and they say the error means "Acces denied". But I'm an admin and have all the rights. Does someone know what I'm doing wrong?
I have Window 7 64-bit.
 
Also I have installed it at: "C:\Program Files (x86)\Quick PDF Library".
And now I have an ActiveX directorie and a DLL directorie, both have a DLL. In the ActiveX directorie I have "QuickPDFAX0721.dll" and in the DLL directorie I have "QuickPDFDLL0721.dll". Wich one do I need to register and use in VS2010?
 
Looking forward for you advice,
 
mailto:Kevin@Vmg - Kevin@Vmg



Replies:
Posted By: Wheeley
Date Posted: 26 Oct 10 at 7:24AM
I don't want to drive you away from this wonderful library BUT

1. Have you looked at the samples that came with the library download? There are examples there.
2. Or try here: http://www.quickpdflibrary.com/samples/index.php
3. Also use the search utility for the forum. This question has been asked numerous times before.

Wheeley
Heart


Posted By: Kevin@VMG
Date Posted: 26 Oct 10 at 3:07PM
First of all thanks for you comment but I found it already.
I did it in Csharp:

PFLibrary qp = new PDFLibrary("C:\\Program Files (x86)\\Quick PDF Library\\DLL\\QuickPDFDLL0721.dll");

This way I can use the DLL without registration Big smile
 
And to your point 3.
I didn't know that. I searched for de registration error but is said it had 0 matches.
 
mailto:Kevin@VMG - Kevin@VMG :D
 


Posted By: quickpdf_learner
Date Posted: 27 Oct 10 at 3:49PM
I had a similar situation here.
I can deploy QuickPDF locally (windows 7 32-bit with Visual Studio 2008), while it fails when I try it for windows 2008 64-bit server with IIS7.0.
I tried your method to download QuickPDF to the server and use
PFLibrary qp = new PDFLibrary("C:\\Program Files (x86)\\Quick PDF Library\\DLL\\QuickPDFDLL0721.dll");
Without registering the dll, I saw error message when loading my app to the server:
 
[ArgumentNullException: Value cannot be null.
Parameter name: ptr]
   System.Runtime.InteropServices.Marshal.GetDelegateForFunctionPointer(IntPtr ptr, Type t) +10220858
   QuickPDFDLL0721.DLL..ctor(String dllFileName) +191
   QuickPDFDLL0721.PDFLibrary..ctor(String dllFileName) +42
Any suggestion?
Thanks,
 


Posted By: Wheeley
Date Posted: 27 Oct 10 at 10:22PM
Try searching for 64-bit. There are numerous topics on this.

Wheeley
Wink



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk