<?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 : LoadFromFile Hanging</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 : LoadFromFile Hanging]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 04 Apr 2026 09:16:47 +0000</pubDate>
  <lastBuildDate>Sun, 16 Aug 2015 21:22:26 +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=3162</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[LoadFromFile Hanging : Hi.I get:! __QPDF_ErrorNotiffy:&amp;gt;...]]></title>
   <link>http://www.quickpdf.org/forum/loadfromfile-hanging_topic3162_post12672.html#12672</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2557">mLipok</a><br /><strong>Subject:</strong> 3162<br /><strong>Posted:</strong> 16 Aug 15 at 9:22PM<br /><br />Hi.<div>I get:</div><div><div>! __QPDF_ErrorNotiffy:</div><div>&gt; &nbsp; &nbsp; $iResultError = 401</div><div>&gt; &nbsp; &nbsp; $sLastErrorDescription = Could not open input file</div></div><div><br></div><div>btw.<br>You must set password,&nbsp;as it is a required parameter</div><div>so you have to use:</div><div><table width="99%"><tr><td><pre class="BBcode"></div><div><span style="line-height: 15.27272605896px; : rgb251, 251, 253;">if QP.LoadFromFile(tmpFilePath, "") = 1&nbsp;</span><br style="line-height: 15.27272605896px; : rgb251, 251, 253;"><span style="line-height: 15.27272605896px; : rgb251, 251, 253;">if QP.LoadFromFile(tmpFilePath, "") = 0</span></div><div><span style="line-height: 15.27272605896px; : rgb251, 251, 253;"></pre></td></tr></table></span></div>]]>
   </description>
   <pubDate>Sun, 16 Aug 2015 21:22:26 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/loadfromfile-hanging_topic3162_post12672.html#12672</guid>
  </item> 
  <item>
   <title><![CDATA[LoadFromFile Hanging : Delphi.Basically, this code has...]]></title>
   <link>http://www.quickpdf.org/forum/loadfromfile-hanging_topic3162_post12670.html#12670</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2767">mcourt</a><br /><strong>Subject:</strong> 3162<br /><strong>Posted:</strong> 15 Aug 15 at 11:34AM<br /><br />Delphi.<br><br>Basically, this code has been running fine, but our application hung when it came across a corrupt pdf, rather than get trapped and handled by the except block it just hangs.<br><br>We know it is a bad PDF file because when we open it in Acrobat viewer we get this message: "There was an error opening this document. The file is damaged and could not be repaired."<br><br>So Adobe acrobat can trap and handle it, why will the current code not trap it:<br><br>//Note QP was created before and tmpfilepath has been set......as we mentioned it works fine for a good pdf file, so why do we not get the BADFile message<br><br>try<br>&nbsp; QP.LoadFromFile(tmpFilePath);&nbsp;&nbsp; //tmpFilepath is valid and points to the pdf<br>&nbsp; showmessage('OK');<br>except<br>&nbsp; showmessage('BAD File?');<br>end;<br><br><br><a href="http://www.courtnell.com/badpdf/testbad.pdf" target="_blank" rel="nofollow">This is a link to the bad pdf.</a><br><br>It is vital to be able to handle bad pdf's to allow applications to handle gracefully and keep on processing....especially in batch systems.<br><br>We also tried variations of loadfromfile like<br>if QP.LoadFromFile(tmpFilePath) = 1 <br>if QP.LoadFromFile(tmpFilePath) = 0<br><br>But still hangs.<br><br>Kind Regards<br>Mark<br><br>]]>
   </description>
   <pubDate>Sat, 15 Aug 2015 11:34:20 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/loadfromfile-hanging_topic3162_post12670.html#12670</guid>
  </item> 
 </channel>
</rss>