<?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 : QuickPDF with TPL</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 : QuickPDF with TPL]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 21 Apr 2026 18:10:42 +0000</pubDate>
  <lastBuildDate>Thu, 21 Apr 2011 14:29:59 +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=1811</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[QuickPDF with TPL : Usually when the phrase &amp;#034;thread...]]></title>
   <link>http://www.quickpdf.org/forum/quickpdf-with-tpl_topic1811_post7834.html#7834</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1000">Rowan</a><br /><strong>Subject:</strong> 1811<br /><strong>Posted:</strong> 21 Apr 11 at 2:29PM<br /><br /><div>Usually when the phrase "thread safe" is used it means that the same instance of the library can be accessed by different threads at the same time.</div><div><br></div><div>This means that Quick PDF Library is not thread safe because a single instance of Quick PDF Library can only be accessed by the thread that created the instance.</div><div><br></div><div>However, Quick PDF Library can be used in a multithreaded environment so long as a separate instance of the library is created by each thread.</div><div><br></div><div>For users of the ActiveX edition of the library, please note that this version has been compiled with the threading mode set to "single threaded apartment".</div>]]>
   </description>
   <pubDate>Thu, 21 Apr 2011 14:29:59 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/quickpdf-with-tpl_topic1811_post7834.html#7834</guid>
  </item> 
  <item>
   <title><![CDATA[QuickPDF with TPL : Hello, i&amp;#039;m trying to read...]]></title>
   <link>http://www.quickpdf.org/forum/quickpdf-with-tpl_topic1811_post7823.html#7823</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1590">i.collodoro</a><br /><strong>Subject:</strong> 1811<br /><strong>Posted:</strong> 20 Apr 11 at 4:11PM<br /><br />Hello,<DIV>i'm trying to read a huge file with almost 12000 pages and i need to performe text search on it. i've tried reading page by page but it tooks about 15 minutes. I tried to use</DIV><DIV>&nbsp;</DIV><DIV>Parallel.For(0,pageCount,(i)=&gt;{ qp.SelectPage(i);<BR>s = qp.GetPageText(3)});</DIV><DIV>&nbsp;</DIV>public string GetPageText(int ExtractOptions)<BR>{<BR>&nbsp;&nbsp; if (dll == null) return "";<BR>&nbsp;&nbsp; else<BR>&nbsp;&nbsp; {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IntPtr data = dll.QuickPDFGetPageText(instanceID, ExtractOptions);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; int size = dll.QuickPDFStringResultLength(instanceID);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; byte&#091;&#093; result = new byte&#091;size&#093;;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Marshal.Copy(data, result, 0, size);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return Encoding.UTF8.GetString(result);<BR>&nbsp;&nbsp; }<BR>}<DIV>&nbsp;</DIV><DIV>but i receive a Corrupted Memory Exception </DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IntPtr data = dll.QuickPDFGetPageText(instanceID, ExtractOptions);</DIV><DIV>&nbsp;</DIV><DIV>Is QuickPDF tread safe?</DIV><DIV>Thanks!</DIV>]]>
   </description>
   <pubDate>Wed, 20 Apr 2011 16:11:25 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/quickpdf-with-tpl_topic1811_post7823.html#7823</guid>
  </item> 
 </channel>
</rss>