<?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 : Cannot get QuickPDF library to work</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 : Cannot get QuickPDF library to work]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 04 Apr 2026 19:28:58 +0000</pubDate>
  <lastBuildDate>Thu, 23 May 2013 15:06:28 +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=2481</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[Cannot get QuickPDF library to work : I have this exact problem with...]]></title>
   <link>http://www.quickpdf.org/forum/cannot-get-quickpdf-library-to-work_topic2481_post10888.html#10888</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2379">DezhiF</a><br /><strong>Subject:</strong> 2481<br /><strong>Posted:</strong> 23 May 13 at 3:06PM<br /><br />I have this exact problem with Lib version, my application<br />crashes on this line:<br /><br />DEBENUPDFLIBRARYLIB0912_DllMain(GetModuleHandle(NULL), DLL_PROCESS_ATTACH, NULL);<br /><br />This is the error we get:<br />Unhandled exception at 0x770407e4 in cadracad.exe: 0xC0000025: Windows cannot continue from this exception.<br /><br /><br />We are attempting to call this from our C code which is not built with Unicode support.  We are using Visual Studio 2008 compilers.  Is it possible to do what we are attempting?<br /><br />Thanks! <br />Dezhi Fan]]>
   </description>
   <pubDate>Thu, 23 May 2013 15:06:28 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/cannot-get-quickpdf-library-to-work_topic2481_post10888.html#10888</guid>
  </item> 
  <item>
   <title><![CDATA[Cannot get QuickPDF library to work : Believe I got it working. I used...]]></title>
   <link>http://www.quickpdf.org/forum/cannot-get-quickpdf-library-to-work_topic2481_post10393.html#10393</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2125">RandyJ</a><br /><strong>Subject:</strong> 2481<br /><strong>Posted:</strong> 07 Jan 13 at 4:57PM<br /><br />Believe I got it working. I used the non MFC c++ .h and .cpp (with a small modification) and the L to cast the string to unicode.&nbsp;]]>
   </description>
   <pubDate>Mon, 07 Jan 2013 16:57:42 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/cannot-get-quickpdf-library-to-work_topic2481_post10393.html#10393</guid>
  </item> 
  <item>
   <title><![CDATA[Cannot get QuickPDF library to work : That fixes the error with the...]]></title>
   <link>http://www.quickpdf.org/forum/cannot-get-quickpdf-library-to-work_topic2481_post10392.html#10392</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2125">RandyJ</a><br /><strong>Subject:</strong> 2481<br /><strong>Posted:</strong> 07 Jan 13 at 2:26PM<br /><br />That fixes the error with the constructor, however the other functions are "undeclared identifiers". It is difficult to determine the correct way of getting this to work because the documentation is inconsistant.<div><br></div><div>From the quick start guide:</div><div><br></div><div><div>int InstanceID;</div><div>InstanceID = DPLCreateLibrary();</div><div>if (DPLUnlockKey(InstanceID, "your license key") == 1) {</div><div>DPLDrawText(InstanceID, 100, 500, "Hello world");</div><div>DPLSaveToFile(InstanceID, "C:\Docs\HelloFromDLL.pdf");</div><div>}</div><div>DPLReleaseLibrary(InstanceID);</div></div><div><br></div><div>from the example:</div><div><br></div><div><div>&nbsp; &nbsp; // Declare and load Quick PDF Library DLL</div><div>&nbsp; &nbsp; DebenuPDFLibraryDLL0912 QP("DebenuPDFLibraryDLL0912.dll");</div><div><br></div><div>&nbsp; &nbsp; // Library key</div><div>&nbsp; &nbsp; CStringW strLicenseKey = L"INSERT_LICENSE_KEY_HERE";</div><div><br></div><div>&nbsp; &nbsp; // PDF output filename</div><div>&nbsp; &nbsp; CStringW strFileName = L"hello-world.pdf";</div><div><br></div><div>&nbsp; &nbsp; // Display message containing the library version</div><div>&nbsp; &nbsp; CStringW strMessage = L"Quick PDF Library Hello World sample";</div><div>&nbsp; &nbsp; strMessage += L"\n";</div><div>&nbsp; &nbsp; strMessage += L"Library version: " + QP.LibraryVersion();</div><div><br></div><div>&nbsp; &nbsp; // Unlock the library</div><div>&nbsp; &nbsp; int iResult = QP.UnlockKey(strLicenseKey);</div><div>&nbsp; &nbsp; if (iResult == 1)</div><div>&nbsp; &nbsp; {</div></div>]]>
   </description>
   <pubDate>Mon, 07 Jan 2013 14:26:31 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/cannot-get-quickpdf-library-to-work_topic2481_post10392.html#10392</guid>
  </item> 
  <item>
   <title><![CDATA[Cannot get QuickPDF library to work : Visual C++ v6 is getting very...]]></title>
   <link>http://www.quickpdf.org/forum/cannot-get-quickpdf-library-to-work_topic2481_post10390.html#10390</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1483">AndrewC</a><br /><strong>Subject:</strong> 2481<br /><strong>Posted:</strong> 05 Jan 13 at 10:35AM<br /><br />Visual C++ v6 is getting very old and I suspect it doesn't fully support Unicode. &nbsp;QPL and the CPP files are expecting the EXE to be compiled as a Unicode app which uses Unicode strings internally instead of 8 bit strings.<div><br></div><div>I am wondering if the following code works ? &nbsp;Note the 'L' at the front of the string.</div><div><br></div><div><span style=": rgb251, 251, 253;">&nbsp; DebenuPDFLibraryDLL0912 QP(L"DebenuPDFLibraryDLL0912.dll");</span><br><div><br></div><div>Another option is to try using the .h file from the 'DLL\Import\C' directory and then use the 'A' functions such as</div><div><br></div><div>&nbsp; DPLUnlockKeyA</div><div>&nbsp; DPLLoadFromFileA</div><div>&nbsp; DPLRenderPageToFileA&nbsp;</div><div><br></div><div>as these functions take 8bit strings (char *)</div><div><br></div><div>Andrew.</div></div>]]>
   </description>
   <pubDate>Sat, 05 Jan 2013 10:35:46 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/cannot-get-quickpdf-library-to-work_topic2481_post10390.html#10390</guid>
  </item> 
  <item>
   <title><![CDATA[Cannot get QuickPDF library to work : I would say look here for exam...]]></title>
   <link>http://www.quickpdf.org/forum/cannot-get-quickpdf-library-to-work_topic2481_post10385.html#10385</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=121">Wheeley</a><br /><strong>Subject:</strong> 2481<br /><strong>Posted:</strong> 03 Jan 13 at 8:28PM<br /><br />I would say look here for examples.<br><br>http://www.quickpdflibrary.com/help/getting-started.php<br><br>Hope it helps<br>Wheeley<br>]]>
   </description>
   <pubDate>Thu, 03 Jan 2013 20:28:59 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/cannot-get-quickpdf-library-to-work_topic2481_post10385.html#10385</guid>
  </item> 
  <item>
   <title><![CDATA[Cannot get QuickPDF library to work : I am an employee for a company...]]></title>
   <link>http://www.quickpdf.org/forum/cannot-get-quickpdf-library-to-work_topic2481_post10384.html#10384</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2125">RandyJ</a><br /><strong>Subject:</strong> 2481<br /><strong>Posted:</strong> 03 Jan 13 at 6:56PM<br /><br />I am an employee for a company looking to license a PDF library for use in our product and I have been assigned the task of evaluating different libraries to determine which we want to use.<div><br></div><div>QuickPDF seems to be the best suit for our needs thanks to it having support for Device Context handles, which would allow us to add native printing to PDF with very little modification to our existing code. However, I have run into some issues with getting the actual library itself to run.</div><div><br></div><div>My development environment is Visual C++ 6 and I have tried both the Lib and DLL versions of the library to no avail.</div><div><br></div><div>With the Lib version, I successfully added the library and .h file to the project and wrote some test code around it, but the application crashes on this line</div><div><br></div><div>DEBENUPDFLIBRARYLIB0912_DllMain(GetModuleHandle(NULL), DLL_PROCESS_ATTACH, NULL);</div><div><br></div><div>I attempted to use the DLL version, but cannot even get the application to compile, using either the standard of MFC .h and .cpp files.</div><div><br></div><div>With the standard version, I get an error about precompiled headers, and after I added</div><div><br></div><div>#include "stdafx.h"</div><div><br></div><div>I began to get an error with this line</div><div><br></div><div>DebenuPDFLibraryDLL0912 QP("DebenuPDFLibraryDLL0912.dll");</div><div><br></div><div>where the CString cannot be cast to what the constructor expects.</div><div><br></div><div>With the MFC version, it will not even compile due to CStringW not being a known identifier.</div><div><br></div><div>Any input would be appreciated as to how to get this working.</div><div><br></div><div><br></div>]]>
   </description>
   <pubDate>Thu, 03 Jan 2013 18:56:51 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/cannot-get-quickpdf-library-to-work_topic2481_post10384.html#10384</guid>
  </item> 
 </channel>
</rss>