<?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 : C++ example</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 : Sample Code : C++ example]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 11 May 2026 22:15:25 +0000</pubDate>
  <lastBuildDate>Mon, 18 Nov 2019 23:30:58 +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=3695</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[C++ example : Greets - resurrecting this a bit;...]]></title>
   <link>http://www.quickpdf.org/forum/c-example_topic3695_post15027.html#15027</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=3164">rsi.thyde</a><br /><strong>Subject:</strong> 3695<br /><strong>Posted:</strong> 18 Nov 19 at 11:30PM<br /><br />Greets - resurrecting this a bit; I'm looking for a CPP reference script (instantiate class, unlock api) for QuickPDF; the VS scripts are not GNU CPP, so are not actually that useful to getting GNU CPP going.<div><br></div><div>The platform target is Debian 9, GCC 6.3 (preferably, but not mandatory) and the library from FoxitQPLLinuxCPP1711.</div><div><br></div><div>I have a non-working snippet as my baseline, drawn from various cobbled sources:</div><div><blockquote style="margin: 0 0 0 40px; border: n&#111;ne; padding: 0px;"><div><br></div><div><div>#include &lt;iostream&gt;</div></div><div><div>#include &lt;string&gt;</div></div><div><div>#include &lt;cstring&gt;</div></div><div><div>#include &lt;sstream&gt;</div></div><div><div>#include "Import/CPlusPlus/FoxitQPLLinuxCPP1711.h"</div></div><div><div>#include "Import/CPlusPlus/FoxitQPLLinuxCPP1711.cpp"</div></div><div><div><br></div></div><div><div>using namespace std;</div></div><div><div><br></div></div><div><div>int main()</div></div><div><div>{</div></div><div><div>&nbsp; wstring pdfkey = "12345";</div></div><div><div>&nbsp; wstring mymsg = "Loading result of key ";</div></div><div><div><br></div></div><div><div>&nbsp; FoxitQPLLinuxCPP1711 qp = new FoxitQPLLinuxCPP1711();</div></div><div><div>&nbsp; int result = qp.UnlockKey(pdfkey);</div></div><div><div><br></div></div><div><div>&nbsp;wcout &lt;&lt; mymsg &lt;&lt; pdfkey &lt;&lt; " ---- " &lt;&lt; result &lt;&lt; endl;</div></div><div><div>&nbsp;return 0;</div></div><div><div>}</div></div></blockquote></div><div><br></div><div>However, it is expecting, I believe, a specifically typed filename in the instantiation call based upon the errors:</div><div><br></div><div><div><i><font size="1">testy.cpp:16:54: error: no matching function for call to ‘FoxitQPLLinuxCPP1711::FoxitQPLLinuxCPP1711()’</font></i></div><div><i><font size="1">&nbsp; &nbsp;FoxitQPLLinuxCPP1711 qp = new FoxitQPLLinuxCPP1711();</font></i></div><div><i><font size="1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ^</font></i></div><div><i><font size="1">In file included from testy.cpp:7:0:</font></i></div><div><i><font size="1">Import/CPlusPlus/FoxitQPLLinuxCPP1711.cpp:30:1: note: candidate: FoxitQPLLinuxCPP1711::FoxitQPLLinuxCPP1711(const wstring&amp;)</font></i></div><div><i><font size="1">&nbsp;FoxitQPLLinuxCPP1711::FoxitQPLLinuxCPP1711(const std::wstring&amp; LinuxFileName)</font></i></div><div><i><font size="1">&nbsp;^~~~~~~~~~~~~~~~~~~~</font></i></div><div><i><font size="1">Import/CPlusPlus/FoxitQPLLinuxCPP1711.cpp:30:1: note:&nbsp; &nbsp;candidate expects 1 argument, 0 provided</font></i></div><div><i><font size="1">In file included from testy.cpp:6:0:</font></i></div><div><i><font size="1">Import/CPlusPlus/FoxitQPLLinuxCPP1711.h:174:7: note: candidate: constexpr FoxitQPLLinuxCPP1711::FoxitQPLLinuxCPP1711(const FoxitQPLLinuxCPP1711&amp;)</font></i></div><div><i><font size="1">&nbsp;class FoxitQPLLinuxCPP1711</font></i></div><div><i><font size="1">&nbsp; &nbsp; &nbsp; &nbsp;^~~~~~~~~~~~~~~~~~~~</font></i></div><div><i><font size="1">Import/CPlusPlus/FoxitQPLLinuxCPP1711.h:174:7: note:&nbsp; &nbsp;candidate expects 1 argument, 0 provided</font></i></div></div><div><br></div><div>I'm not a stellar cpp/c# programmer, but have a pretty good idea where the semi-colons go. I am currently writing code as baseline using 3 different pdf generation libraries, across both c++ and php, and this is the only library I have yet to get to work right out of the box.</div><div>A console-based reference script would be appreciated if available!</div><div>Thanks!</div><div>TH.</div>]]>
   </description>
   <pubDate>Mon, 18 Nov 2019 23:30:58 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/c-example_topic3695_post15027.html#15027</guid>
  </item> 
  <item>
   <title><![CDATA[C++ example : Post a bit of code here which...]]></title>
   <link>http://www.quickpdf.org/forum/c-example_topic3695_post14733.html#14733</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1388">tfrost</a><br /><strong>Subject:</strong> 3695<br /><strong>Posted:</strong> 21 Apr 19 at 12:38PM<br /><br />Post a bit of code here which fails, and tell us what error reports or failure you are seeing. Does it fail to build, fail to run, or not give correct output?&nbsp; This is a users' forum so someone else here may be able to help (I am familiar with C++ but do not use it with QPDF).&nbsp; Saying just "doesn't work" gives no opportunity for anyone to suggest what you might try next!]]>
   </description>
   <pubDate>Sun, 21 Apr 2019 12:38:22 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/c-example_topic3695_post14733.html#14733</guid>
  </item> 
  <item>
   <title><![CDATA[C++ example : Thanks for your help. This example...]]></title>
   <link>http://www.quickpdf.org/forum/c-example_topic3695_post14732.html#14732</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=3121">hcortesm</a><br /><strong>Subject:</strong> 3695<br /><strong>Posted:</strong> 21 Apr 19 at 4:36AM<br /><br />Thanks for your help. This example is for use under Visual C++ but is not working on code blocks, so I can not make it run. Keep searching.&nbsp;<div><br></div><div>Cheers and thanks for the welcome.</div><div><br></div>]]>
   </description>
   <pubDate>Sun, 21 Apr 2019 04:36:45 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/c-example_topic3695_post14732.html#14732</guid>
  </item> 
  <item>
   <title><![CDATA[C++ example : Hi,using the advances search option...]]></title>
   <link>http://www.quickpdf.org/forum/c-example_topic3695_post14731.html#14731</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 3695<br /><strong>Posted:</strong> 20 Apr 19 at 9:10PM<br /><br />Hi,<br><br>using the advances search option above on this page i found this sample from Bob Hall:<br>http://www.quickpdf.org/forum/forum_posts.asp?TID=535&amp;KW=C%2B%2B&amp;PID=2335&amp;title=visual-c-starter-example-code#2335<br><br>Here is the Debenu sample page for the first steps with the library:<br>https://www.debenu.com/products/development/debenu-pdf-library/help/samples/<br><br>Cheers and welcome here,<br>Ingo<br><br>]]>
   </description>
   <pubDate>Sat, 20 Apr 2019 21:10:55 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/c-example_topic3695_post14731.html#14731</guid>
  </item> 
  <item>
   <title><![CDATA[C++ example : Hello,I&amp;#039;m so new programming...]]></title>
   <link>http://www.quickpdf.org/forum/c-example_topic3695_post14730.html#14730</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=3121">hcortesm</a><br /><strong>Subject:</strong> 3695<br /><strong>Posted:</strong> 20 Apr 19 at 1:26AM<br /><br />Hello,&nbsp;<div><br></div><div>I'm so new programming and it's my fisrt time with Debenu QPL. Is there any example I can use to show me the use of the library in C++? I'm working in code blocks right now. The only examples I can find are VS ones.</div><div><br></div><div>Thanks</div>]]>
   </description>
   <pubDate>Sat, 20 Apr 2019 01:26:30 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/c-example_topic3695_post14730.html#14730</guid>
  </item> 
 </channel>
</rss>