<?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 : RenderToStream crash application</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 : RenderToStream crash application]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 04 Apr 2026 04:53:21 +0000</pubDate>
  <lastBuildDate>Tue, 10 Jun 2014 21:29:13 +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=2919</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[RenderToStream crash application : Hi Igor,like TFROST told already...You...]]></title>
   <link>http://www.quickpdf.org/forum/rendertostream-crash-application_topic2919_post11784.html#11784</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 2919<br /><strong>Posted:</strong> 10 Jun 14 at 9:29PM<br /><br />Hi Igor,<div><br></div><div>like TFROST told already...</div><div>You should check where you're doing the CREATEs and FREEs.</div><div><br></div><div>Cheers and welcome here,</div><div>Ingo</div><div><br></div>]]>
   </description>
   <pubDate>Tue, 10 Jun 2014 21:29:13 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/rendertostream-crash-application_topic2919_post11784.html#11784</guid>
  </item> 
  <item>
   <title><![CDATA[RenderToStream crash application : What type of stream are you passing...]]></title>
   <link>http://www.quickpdf.org/forum/rendertostream-crash-application_topic2919_post11782.html#11782</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1388">tfrost</a><br /><strong>Subject:</strong> 2919<br /><strong>Posted:</strong> 10 Jun 14 at 3:28PM<br /><br />What type of stream are you passing to the function? &nbsp;Have you checked that the stream has been created and has not been closed or modified by one of your other threads? &nbsp;If you are writing direct to a filestream have you tried instead changing to a memorystream and then writing that to file later? &nbsp;When you run the application under the debugger what does the stack trace tell you when the exception occurs? &nbsp;What version of Delphi and Debenu are you using? &nbsp;Google indicates that c000029 may be related to a stack corruption issue: so can you reproduce the issue if you single-thread your application?]]>
   </description>
   <pubDate>Tue, 10 Jun 2014 15:28:07 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/rendertostream-crash-application_topic2919_post11782.html#11782</guid>
  </item> 
  <item>
   <title><![CDATA[RenderToStream crash application : From event viewer:Faulting application...]]></title>
   <link>http://www.quickpdf.org/forum/rendertostream-crash-application_topic2919_post11781.html#11781</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2584">Ihor.Karalash</a><br /><strong>Subject:</strong> 2919<br /><strong>Posted:</strong> 10 Jun 14 at 2:44PM<br /><br />From event viewer:<div><div>Faulting application name: xxx.exe, version: 0.0.0.3, time stamp: 0x53970a6b</div><div>Faulting module name: ntdll.dll, version: 6.1.7601.18247, time stamp: 0x521ea8e7</div><div>Exception code: 0xc0000029</div><div>Fault offset: 0x00090892</div><div>Faulting process id: 0x674</div><div>Faulting application start time: 0x01cf84b15adc7035</div><div>Faulting application path: ...\exe\xxx.exe</div><div>Faulting module path: C:\Windows\SysWOW64\ntdll.dll</div><div>Report Id: 35db0165-f0a5-11e3-8c36-7071bcb0fcec</div></div><span style="font-size:10px"><br /><br />Edited by Ihor.Karalash - 10 Jun 14 at 3:19PM</span>]]>
   </description>
   <pubDate>Tue, 10 Jun 2014 14:44:56 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/rendertostream-crash-application_topic2919_post11781.html#11781</guid>
  </item> 
  <item>
   <title><![CDATA[RenderToStream crash application : I have many threads that use RenderToStream...]]></title>
   <link>http://www.quickpdf.org/forum/rendertostream-crash-application_topic2919_post11780.html#11780</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2584">Ihor.Karalash</a><br /><strong>Subject:</strong> 2919<br /><strong>Posted:</strong> 10 Jun 14 at 2:35PM<br /><br />I have many threads that use RenderToStream for writing document data to stream, very often i get access violation here, sometimes i get error message with link to ntdll.dll, sometimes "<span style="font-size: small; color: rgb34, 34, 34; font-family: arial, sans-serif; white-space: nowrap; line-height: 1.4;">System error. Code 5".</span><br><div><br><div><div><font face="Courier New, Courier, mono"><i>function TPdfDocument.RenderPageToStream(dpi, page: integer; output: TRenderOutput; target: TStream): boolean;</i></font></div><div><font face="Courier New, Courier, mono"><i>var</i></font></div><div><font face="Courier New, Courier, mono"><i>&nbsp; &nbsp; res: Integer;</i></font></div><div><font face="Courier New, Courier, mono"><i>begin</i></font></div><div><font face="Courier New, Courier, mono"><i>&nbsp; &nbsp; try</i></font></div><div><font face="Courier New, Courier, mono"><i>&nbsp; &nbsp; &nbsp; &nbsp; res := fLib.RenderPageToStream(dpi, page, Ord(output), target);</i></font></div><div><font face="Courier New, Courier, mono"><i>&nbsp; &nbsp; except</i></font></div><div><font face="Courier New, Courier, mono"><i>&nbsp; &nbsp; &nbsp; &nbsp; Exit(False);</i></font></div><div><font face="Courier New, Courier, mono"><i>&nbsp; &nbsp; end;</i></font></div><div><font face="Courier New, Courier, mono"><i>&nbsp; &nbsp; Result := res = ERR_Ok;</i></font></div><div><font face="Courier New, Courier, mono"><i>end;</i></font></div></div></div><div><br></div><div>And&nbsp;after some time, application crash and close without errors. Any ideas? Windows 7, x64</div>]]>
   </description>
   <pubDate>Tue, 10 Jun 2014 14:35:15 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/rendertostream-crash-application_topic2919_post11780.html#11780</guid>
  </item> 
 </channel>
</rss>