<?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 : QuckPDF in a thread</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 : QuckPDF in a thread]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 04 Apr 2026 11:34:46 +0000</pubDate>
  <lastBuildDate>Mon, 12 May 2014 21:01:54 +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=2881</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[QuckPDF in a thread : I checked the CoInitializeEx and...]]></title>
   <link>http://www.quickpdf.org/forum/quckpdf-in-a-thread_topic2881_post11702.html#11702</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2560">Chopinke</a><br /><strong>Subject:</strong> 2881<br /><strong>Posted:</strong> 12 May 14 at 9:01PM<br /><br />I checked the CoInitializeEx and getting RPC_E_CHANGED_MODE for COINIT_MULTITHREADED.<div>If I use COINIT_APARTMENTTHREADED, then I get S_FALSE back, meaning that the COM library is already initialized.</div><div><br></div><div>I believe I move on now for always DPL.Create ... DPL.Free, for each execution of the tread, and will check later how is it behaving in XE4 or later.</div>]]>
   </description>
   <pubDate>Mon, 12 May 2014 21:01:54 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/quckpdf-in-a-thread_topic2881_post11702.html#11702</guid>
  </item> 
  <item>
   <title><![CDATA[QuckPDF in a thread : Sorry for the late reply, I was...]]></title>
   <link>http://www.quickpdf.org/forum/quckpdf-in-a-thread_topic2881_post11676.html#11676</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2560">Chopinke</a><br /><strong>Subject:</strong> 2881<br /><strong>Posted:</strong> 05 May 14 at 11:21AM<br /><br />Sorry for the late reply, I was out of town. Currently Delphi 7, and will also try with Delphi XE4 (or XE5)]]>
   </description>
   <pubDate>Mon, 05 May 2014 11:21:11 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/quckpdf-in-a-thread_topic2881_post11676.html#11676</guid>
  </item> 
  <item>
   <title><![CDATA[QuckPDF in a thread : Which type of the Debenu library...]]></title>
   <link>http://www.quickpdf.org/forum/quckpdf-in-a-thread_topic2881_post11665.html#11665</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1388">tfrost</a><br /><strong>Subject:</strong> 2881<br /><strong>Posted:</strong> 30 Apr 14 at 12:16PM<br /><br />Which type of the Debenu library are you using (static Delphi, DLL, ActiveX)?]]>
   </description>
   <pubDate>Wed, 30 Apr 2014 12:16:19 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/quckpdf-in-a-thread_topic2881_post11665.html#11665</guid>
  </item> 
  <item>
   <title><![CDATA[QuckPDF in a thread : I changed my solution that I do...]]></title>
   <link>http://www.quickpdf.org/forum/quckpdf-in-a-thread_topic2881_post11664.html#11664</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2560">Chopinke</a><br /><strong>Subject:</strong> 2881<br /><strong>Posted:</strong> 30 Apr 14 at 10:24AM<br /><br />I changed my solution that I do the .create and .free inside the thread running. I am not sure why would I even have to call CoInitialize, because<div><br></div><div>1) They already fixed that issue in much earlier version</div><div>2) They claim free of Adobe Reader, so why do they need any OLE stuff?</div><div><br></div><div>But I will try the CoInitializeEx() and let you know the result.</div>]]>
   </description>
   <pubDate>Wed, 30 Apr 2014 10:24:09 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/quckpdf-in-a-thread_topic2881_post11664.html#11664</guid>
  </item> 
  <item>
   <title><![CDATA[QuckPDF in a thread : Have you tried CoInitializeEx?...]]></title>
   <link>http://www.quickpdf.org/forum/quckpdf-in-a-thread_topic2881_post11663.html#11663</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1388">tfrost</a><br /><strong>Subject:</strong> 2881<br /><strong>Posted:</strong> 30 Apr 14 at 10:19AM<br /><br />Have you tried CoInitializeEx?]]>
   </description>
   <pubDate>Wed, 30 Apr 2014 10:19:27 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/quckpdf-in-a-thread_topic2881_post11663.html#11663</guid>
  </item> 
  <item>
   <title><![CDATA[QuckPDF in a thread : Hi,I am evaluating QuckPDF library...]]></title>
   <link>http://www.quickpdf.org/forum/quckpdf-in-a-thread_topic2881_post11661.html#11661</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2560">Chopinke</a><br /><strong>Subject:</strong> 2881<br /><strong>Posted:</strong> 29 Apr 14 at 6:07PM<br /><br />Hi,<div><br></div><div>I am evaluating QuckPDF library with Delphi7. I am using threads.</div><div><br></div><div><br></div><div><div>constructor TMyThread.Create(CreateSuspended: Boolean);</div><div>begin</div><div>&nbsp; inherited Create(CreateSuspended);</div><div>&nbsp; Priority := tpNormal;</div><div>&nbsp; FreeOnTerminate := false;</div><div><span style="line-height: 1.4;">// &nbsp;CoInitialize(nil);</span></div><div>&nbsp; DPL := TDebenuPDFLibrary1014.Create;</div><div>&nbsp; DPL.UnlockKey('blabla');</div><div>end;</div><div><br></div></div><div><div>destructor TMyThread.Destroy;</div><div>begin</div><div><span style="line-height: 1.4;">&nbsp; DPL.Free;</span></div><div>&nbsp; DPL := nil;</div><div>// &nbsp;CoUnInitialize;</div><div>&nbsp; inherited Destroy;</div><div>end;</div></div><div><br></div><div><div>procedure TMyThread.Execute;</div></div><div>begin</div><div><div>while not Terminated do</div><div>&nbsp; if not Suspended then</div><div>&nbsp; begin</div></div><div>&nbsp; &nbsp;&nbsp;<span style="line-height: 1.4;">&nbsp; PDFDocument := DPL.NewDocument;</span></div><div><div>&nbsp; end;</div><div>end;</div></div><div><br></div><div>I am getting 'CoInitialize has not been called' exception at the NewDocument() call, even if I uncomment the CoInitilalize in the code above.</div><div><br></div><div>What the problem may be?</div><div><br></div><div>Thanks!</div><span style="font-size:10px"><br /><br />Edited by Chopinke - 29 Apr 14 at 6:08PM</span>]]>
   </description>
   <pubDate>Tue, 29 Apr 2014 18:07:37 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/quckpdf-in-a-thread_topic2881_post11661.html#11661</guid>
  </item> 
 </channel>
</rss>