<?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 failed (Delphi 2007) .. why?</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 failed (Delphi 2007) .. why?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 01 May 2026 07:53:01 +0000</pubDate>
  <lastBuildDate>Thu, 19 Mar 2009 02:35:41 +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=1033</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 failed (Delphi 2007) .. why? : The problem don&amp;#039;t come with...]]></title>
   <link>http://www.quickpdf.org/forum/loadfromfile-failed-delphi-2007-why_topic1033_post4879.html#4879</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=129">DELBEKE</a><br /><strong>Subject:</strong> 1033<br /><strong>Posted:</strong> 19 Mar 09 at 2:35AM<br /><br />The problem don't come with this %%EOF. This is a linearized pdf. A pdf can contain more than one %%EOF in 2 cases : linearisation and incremental save. The real problem come with startxref 0. That QuickPdf can not handle at the momment.<BR>]]>
   </description>
   <pubDate>Thu, 19 Mar 2009 02:35:41 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/loadfromfile-failed-delphi-2007-why_topic1033_post4879.html#4879</guid>
  </item> 
  <item>
   <title><![CDATA[LoadFromFile failed (Delphi 2007) .. why? : Zarko, Delbeke, and Ingo (plus...]]></title>
   <link>http://www.quickpdf.org/forum/loadfromfile-failed-delphi-2007-why_topic1033_post4878.html#4878</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1003">deabrew</a><br /><strong>Subject:</strong> 1033<br /><strong>Posted:</strong> 18 Mar 09 at 7:56PM<br /><br />Zarko, Delbeke, and Ingo (plus readers),<br /><br />We're working on providing a solution for this problem to include in an upcoming version (7.13) of Quick PDF Library.<br /><br />Today, the production version of 7.12 will be released.<br /><br />And thanks all.<br /><br />Cheers, -Karl<br /><br />-Karl]]>
   </description>
   <pubDate>Wed, 18 Mar 2009 19:56:46 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/loadfromfile-failed-delphi-2007-why_topic1033_post4878.html#4878</guid>
  </item> 
  <item>
   <title><![CDATA[LoadFromFile failed (Delphi 2007) .. why? : Delbeke,  I am aware of the...]]></title>
   <link>http://www.quickpdf.org/forum/loadfromfile-failed-delphi-2007-why_topic1033_post4877.html#4877</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1026">ZarkoGajic</a><br /><strong>Subject:</strong> 1033<br /><strong>Posted:</strong> 18 Mar 09 at 6:48PM<br /><br />Delbeke,<DIV>&nbsp;</DIV><DIV>I am aware of the function result value ... my question was initially related to "why" does it fail to load - since AReader can open it.</DIV><DIV>&nbsp;</DIV><DIV>The answer was provided by Ingo.</DIV>]]>
   </description>
   <pubDate>Wed, 18 Mar 2009 18:48:38 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/loadfromfile-failed-delphi-2007-why_topic1033_post4877.html#4877</guid>
  </item> 
  <item>
   <title><![CDATA[LoadFromFile failed (Delphi 2007) .. why? : Hi zarko  In fact it does indicate...]]></title>
   <link>http://www.quickpdf.org/forum/loadfromfile-failed-delphi-2007-why_topic1033_post4876.html#4876</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=129">DELBEKE</a><br /><strong>Subject:</strong> 1033<br /><strong>Posted:</strong> 18 Mar 09 at 3:59PM<br /><br />Hi zarko<DIV>&nbsp;</DIV><DIV>In fact it does indicate you that the file can' be laoded.</DIV><DIV>Here is&nbsp;a sample writen in vb6</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp; On Error Resume Next<BR>&nbsp;&nbsp;&nbsp; lRet = m_oDoc.LoadFromFile(Value)<BR>&nbsp;&nbsp;&nbsp; On Error GoTo 0<BR>&nbsp;&nbsp;&nbsp; If lRet = 0 Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MsgBox "File can not be opened", vbCritical<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Exit&nbsp;Sub<BR>&nbsp;&nbsp;&nbsp; End If<BR></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 18 Mar 2009 15:59:52 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/loadfromfile-failed-delphi-2007-why_topic1033_post4876.html#4876</guid>
  </item> 
  <item>
   <title><![CDATA[LoadFromFile failed (Delphi 2007) .. why? : Ingo,  Thanks for the info.  I...]]></title>
   <link>http://www.quickpdf.org/forum/loadfromfile-failed-delphi-2007-why_topic1033_post4875.html#4875</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1026">ZarkoGajic</a><br /><strong>Subject:</strong> 1033<br /><strong>Posted:</strong> 18 Mar 09 at 3:19PM<br /><br />Ingo,<DIV>&nbsp;</DIV><DIV>Thanks for the info.</DIV><DIV>&nbsp;</DIV><DIV>I do not have any idea what this EOF is doing there :(</DIV><DIV>&nbsp;</DIV><DIV>p.s.</DIV><DIV>Need to process a bunch of PDFs in my application and this file failed to load.</DIV><DIV>&nbsp;</DIV><DIV>What is important here is that this file IS corrupted - the fact that AdobeReader can read it .. who cares .. for me it would be enough to report as "cannot&nbsp;open file".</DIV>]]>
   </description>
   <pubDate>Wed, 18 Mar 2009 15:19:47 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/loadfromfile-failed-delphi-2007-why_topic1033_post4875.html#4875</guid>
  </item> 
  <item>
   <title><![CDATA[LoadFromFile failed (Delphi 2007) .. why? :   Hi Zarko!I&amp;#039;ve looked...]]></title>
   <link>http://www.quickpdf.org/forum/loadfromfile-failed-delphi-2007-why_topic1033_post4874.html#4874</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 1033<br /><strong>Posted:</strong> 18 Mar 09 at 3:03PM<br /><br />Hi Zarko!<br><br>I've looked inside with PSPad (you can use any other editor as well).<br>The first content you can see below.<br>I've deleted the string "%%EOF", made a new save and then QuickPDF had no problem to read/load the file! It's a distiller document initially created with Word. Where this E(nd)O(f)F(ile) comes from... i don't know? A real accident ;-)<br>A 100 mb adobe reader installation can handle this - for the 2 mb of QuickPDF it's not so easy i fear.<br><br>Cheers, Ingo<br><br>%PDF-1.5<br>%âãÏÓ<br>10 0 obj<br>&lt;&lt;/Linearized 1/L 6181/O 12/E 1733/N 1/T 5934/H &#091; 456 163&#093;&gt;&gt;<br>endobj<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>xref<br>10 8<br>0000000016 00000 n<br>0000000619 00000 n<br>0000000731 00000 n<br>0000000927 00000 n<br>0000001075 00000 n<br>0000001413 00000 n<br>0000001656 00000 n<br>0000000456 00000 n<br>trailer<br>&lt;&lt;/Size 18/Prev 5923/Root 11 0 R/Info 9 0 R/ID&#091;&lt;CA83DDF33197EBFD70368E5A30920D4E&gt;&lt;900CDB0B84391E449A21F582F7E253EB&gt;&#093;&gt;&gt;<br>startxref<br>0<br>%%EOF<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>17 0 obj<br>&lt;&lt;/Length 73/Filter/FlateDecode/I 101/L 85/O 69/S 38&gt;&gt;stream<br>xÚb```e``²`<br><span style="font-size:10px"><br /><br />Edited by Ingo - 18 Mar 09 at 3:05PM</span>]]>
   </description>
   <pubDate>Wed, 18 Mar 2009 15:03:05 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/loadfromfile-failed-delphi-2007-why_topic1033_post4874.html#4874</guid>
  </item> 
  <item>
   <title><![CDATA[LoadFromFile failed (Delphi 2007) .. why? : Of course, these would be kind...]]></title>
   <link>http://www.quickpdf.org/forum/loadfromfile-failed-delphi-2007-why_topic1033_post4873.html#4873</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=129">DELBEKE</a><br /><strong>Subject:</strong> 1033<br /><strong>Posted:</strong> 18 Mar 09 at 12:10PM<br /><br />Of course, these would be kind ;) <DIV>&nbsp;</DIV><DIV>But not easy to implement&nbsp;I think. A easyer way should be a return value more significant, actualy 0, all is correct and 1, load has fail.</DIV><span style="font-size:10px"><br /><br />Edited by DELBEKE - 18 Mar 09 at 12:11PM</span>]]>
   </description>
   <pubDate>Wed, 18 Mar 2009 12:10:30 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/loadfromfile-failed-delphi-2007-why_topic1033_post4873.html#4873</guid>
  </item> 
  <item>
   <title><![CDATA[LoadFromFile failed (Delphi 2007) .. why? : Hi,  How about some kind of...]]></title>
   <link>http://www.quickpdf.org/forum/loadfromfile-failed-delphi-2007-why_topic1033_post4872.html#4872</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1026">ZarkoGajic</a><br /><strong>Subject:</strong> 1033<br /><strong>Posted:</strong> 18 Mar 09 at 11:21AM<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>How about some kind of descriptive (error)&nbsp;message to why the LoadFromFile has failed?</DIV><DIV>&nbsp;</DIV><DIV>-zarko</DIV>]]>
   </description>
   <pubDate>Wed, 18 Mar 2009 11:21:32 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/loadfromfile-failed-delphi-2007-why_topic1033_post4872.html#4872</guid>
  </item> 
  <item>
   <title><![CDATA[LoadFromFile failed (Delphi 2007) .. why? : Hi Zarko   The most frenquetly...]]></title>
   <link>http://www.quickpdf.org/forum/loadfromfile-failed-delphi-2007-why_topic1033_post4871.html#4871</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=129">DELBEKE</a><br /><strong>Subject:</strong> 1033<br /><strong>Posted:</strong> 18 Mar 09 at 11:05AM<br /><br />Hi Zarko <DIV>&nbsp;</DIV><DIV>The most frenquetly corrupted pdf are corrupted in the cross reférence (generaly at the end of the file). When Acrobat reader find this kind of corruption, he corrects the problem with a complete reconstruction of cross reference.</DIV><DIV>&nbsp;</DIV><DIV>I suppose QuickPdf library will do it in&nbsp;a near future.</DIV><DIV>&nbsp;</DIV><DIV>Cheers</DIV><DIV>&nbsp;</DIV><span style="font-size:10px"><br /><br />Edited by DELBEKE - 18 Mar 09 at 11:06AM</span>]]>
   </description>
   <pubDate>Wed, 18 Mar 2009 11:05:50 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/loadfromfile-failed-delphi-2007-why_topic1033_post4871.html#4871</guid>
  </item> 
  <item>
   <title><![CDATA[LoadFromFile failed (Delphi 2007) .. why? : Ingo,  Thanks for the offer.  I...]]></title>
   <link>http://www.quickpdf.org/forum/loadfromfile-failed-delphi-2007-why_topic1033_post4870.html#4870</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1026">ZarkoGajic</a><br /><strong>Subject:</strong> 1033<br /><strong>Posted:</strong> 18 Mar 09 at 10:59AM<br /><br />Ingo,<DIV>&nbsp;</DIV><DIV>Thanks for the offer.</DIV><DIV>&nbsp;</DIV><DIV>I "know" that the file is corrupted .. I just am not sure why it loads with Acrobat Reader with no problems .. plus it would be great if when LoadFromFile fails .. a more descriptive error is provided.</DIV><DIV>&nbsp;</DIV><DIV>p.s.</DIV><DIV>PDF sent to your email..</DIV><DIV>&nbsp;</DIV><DIV>p.s.</DIV><DIV>Yes, Zarko Gajic from delphi.about.com :)</DIV>]]>
   </description>
   <pubDate>Wed, 18 Mar 2009 10:59:11 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/loadfromfile-failed-delphi-2007-why_topic1033_post4870.html#4870</guid>
  </item> 
 </channel>
</rss>