<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>Debenu Quick PDF Library - PDF SDK Community Forum : ArgumentNullException</title>
  <link>http://www.quickpdf.org/forum/</link>
  <description><![CDATA[This is an XML content feed of; Debenu Quick PDF Library - PDF SDK Community Forum : I need help - I can help : ArgumentNullException]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 12 May 2026 05:25:09 +0000</pubDate>
  <lastBuildDate>Mon, 28 Jul 2014 15:35:19 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 11.01</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.quickpdf.org/forum/RSS_post_feed.asp?TID=2946</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Debenu Quick PDF Library - PDF SDK Community Forum]]></title>
   <url>http://www.quickpdf.org/forum/forum_images/QPDF_Forum_Title.png</url>
   <link>http://www.quickpdf.org/forum/</link>
  </image>
  <item>
   <title><![CDATA[ArgumentNullException : Thanks for the fast responses...]]></title>
   <link>http://www.quickpdf.org/forum/argumentnullexception_topic2946_post11892.html#11892</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2610">pearlshaun</a><br /><strong>Subject:</strong> 2946<br /><strong>Posted:</strong> 28 Jul 14 at 3:35PM<br /><br />Thanks for the fast responses chaps.<br><br>It turned out that you can build for Any CPU in this case, as IIS allows you to specify an app pool to run in WOW64, which I have only just discovered. This has resolved the issue.<br><br>Thanks for the tips though it steered me in the right direction *tips hat*]]>
   </description>
   <pubDate>Mon, 28 Jul 2014 15:35:19 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/argumentnullexception_topic2946_post11892.html#11892</guid>
  </item> 
  <item>
   <title><![CDATA[ArgumentNullException :  Yes. The project needs to be...]]></title>
   <link>http://www.quickpdf.org/forum/argumentnullexception_topic2946_post11891.html#11891</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1483">AndrewC</a><br /><strong>Subject:</strong> 2946<br /><strong>Posted:</strong> 28 Jul 14 at 2:54PM<br /><br /><div>Yes. The project needs to be set to x86 and not to AnyCPU.</div><div><br></div><div>You can use the following code with AnyCPU.</div><div><br></div><div><div><span style="line-height: 1.4;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (IntPtr.Size == 4)</span></div><div><span style="line-height: 1.4;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dllName = "DebenuPDFLibraryDLL1016.DLL"; &nbsp; &nbsp;// 32 bits</span></div><div><span style="line-height: 1.4;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else</span></div><div><span style="line-height: 1.4;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dllName = "DebenuPDFLibrary64DLL1016.DLL"; &nbsp;// 64 bits</span></div><div><br></div></div><div>By the way the DLL is not a native .NET DLL. &nbsp;It is a standard Windows DLL.</div><div><br></div><div>Andrew.</div><span style="font-size:10px"><br /><br />Edited by AndrewC - 28 Jul 14 at 3:03PM</span>]]>
   </description>
   <pubDate>Mon, 28 Jul 2014 14:54:39 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/argumentnullexception_topic2946_post11891.html#11891</guid>
  </item> 
  <item>
   <title><![CDATA[ArgumentNullException :  Hi Shaun,compiling with Option...]]></title>
   <link>http://www.quickpdf.org/forum/argumentnullexception_topic2946_post11890.html#11890</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 2946<br /><strong>Posted:</strong> 28 Jul 14 at 1:38PM<br /><br />Hi Shaun,<div>&nbsp;</div><div>compiling with Option "any" means regarding the actual Environment - so 64 bit.</div><div>64 bit won't work with 32-bit-dll.</div><div>You compiling option should be "x86" or similar.</div><div>But this won't be all ... there will be further Problems i fear. Sorry.</div><div>&nbsp;</div><div>Cheers and welcome here,</div><div>Ingo</div><div>&nbsp;</div>]]>
   </description>
   <pubDate>Mon, 28 Jul 2014 13:38:32 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/argumentnullexception_topic2946_post11890.html#11890</guid>
  </item> 
  <item>
   <title><![CDATA[ArgumentNullException : I am using the QuickPdf .net DLL...]]></title>
   <link>http://www.quickpdf.org/forum/argumentnullexception_topic2946_post11889.html#11889</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2610">pearlshaun</a><br /><strong>Subject:</strong> 2946<br /><strong>Posted:</strong> 28 Jul 14 at 12:57PM<br /><br />I am using the QuickPdf .net DLL and I'm getting exceptions from the DLL class constructor of the provided import header file. Snippet of stack trace below,<br><br>System.ArgumentNullException: Value cannot be null. &nbsp;Parameter name: ptr &nbsp; &nbsp; at System.Runtime.InteropServices.Marshal.GetDelegateForFunctionPointer(IntPtr ptr, Type t) &nbsp; &nbsp; at External.QuickPDF.DLL..ctor(String dllFileName) in C:\.....\QuickPDF.cs:line 34 &nbsp; &nbsp; at External.QuickPDF.PDFLibrary..ctor(String dllFileName) in C:\.....\QuickPDF.cs:line 2187<br><br>I'm using the 32 bit dll (QuickPDFDLL0726.dll) and Ive compiled my project for Any CPU so I dont think its an architecture mismatch.<br><br>My application is a .net website running in IIS. I have granted the App Pool user full control to the dll, but Im still getting the problem.<div><br></div><div>Any ideas?</div><div><br></div><div>Cheers<br>Shaun</div>]]>
   </description>
   <pubDate>Mon, 28 Jul 2014 12:57:57 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/argumentnullexception_topic2946_post11889.html#11889</guid>
  </item> 
 </channel>
</rss>