<?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 : DPLLoadFromString for PowerBuilder</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 : DPLLoadFromString for PowerBuilder]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 08 May 2026 07:35:32 +0000</pubDate>
  <lastBuildDate>Wed, 13 Mar 2013 01:56:28 +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=2560</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[DPLLoadFromString for PowerBuilder : I think your problem is the string...]]></title>
   <link>http://www.quickpdf.org/forum/dplloadfromstring-for-powerbuilder_topic2560_post10593.html#10593</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=121">Wheeley</a><br /><strong>Subject:</strong> 2560<br /><strong>Posted:</strong> 13 Mar 13 at 1:56AM<br /><br />I think your problem is the string function in Powerbuilder. So the ActiveX will fail also. You could test this of course by writing the blob and the string to 2 different files and then try opening both of them as a pdf. My gut is telling me that the one which as a string will fail.<br><br>Wheeley<br>]]>
   </description>
   <pubDate>Wed, 13 Mar 2013 01:56:28 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/dplloadfromstring-for-powerbuilder_topic2560_post10593.html#10593</guid>
  </item> 
  <item>
   <title><![CDATA[DPLLoadFromString for PowerBuilder : Thanks Wheeley for the reply.  I...]]></title>
   <link>http://www.quickpdf.org/forum/dplloadfromstring-for-powerbuilder_topic2560_post10588.html#10588</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2231">KANASTASI</a><br /><strong>Subject:</strong> 2560<br /><strong>Posted:</strong> 12 Mar 13 at 12:54PM<br /><br />Thanks Wheeley for the reply.<DIV>&nbsp;</DIV><DIV>I was hoping I could do all of the PDF work without going to disk.&nbsp; If I use the ActiveX method do I still have to go to disk?</DIV>]]>
   </description>
   <pubDate>Tue, 12 Mar 2013 12:54:15 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/dplloadfromstring-for-powerbuilder_topic2560_post10588.html#10588</guid>
  </item> 
  <item>
   <title><![CDATA[DPLLoadFromString for PowerBuilder : I don&amp;#039;t think this will work....]]></title>
   <link>http://www.quickpdf.org/forum/dplloadfromstring-for-powerbuilder_topic2560_post10583.html#10583</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=121">Wheeley</a><br /><strong>Subject:</strong> 2560<br /><strong>Posted:</strong> 11 Mar 13 at 9:11PM<br /><br />I don't think this will work. The string statement converts the binary data of the blob into unicode characters. You are going to have to write the blob to disc first with FileWriteEX and than open it with LoadFromFile.<br><br>Wheeley<br><br>]]>
   </description>
   <pubDate>Mon, 11 Mar 2013 21:11:53 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/dplloadfromstring-for-powerbuilder_topic2560_post10583.html#10583</guid>
  </item> 
  <item>
   <title><![CDATA[DPLLoadFromString for PowerBuilder : I&amp;#039;m currently using PowerBuilder...]]></title>
   <link>http://www.quickpdf.org/forum/dplloadfromstring-for-powerbuilder_topic2560_post10582.html#10582</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2231">KANASTASI</a><br /><strong>Subject:</strong> 2560<br /><strong>Posted:</strong> 11 Mar 13 at 7:03PM<br /><br />I'm currently using PowerBuilder 11.5 and trying to load a PDF from a string.&nbsp; The PDFs in this application are stored in a SQL Server database as BLOBs.<DIV>&nbsp;</DIV><DIV>For some reason I can't get DPLLoadFromString to work correctly.</DIV><DIV>&nbsp;</DIV><DIV>Here is some of the code :</DIV><DIV>&nbsp;</DIV><DIV><FONT face="Courier New, Courier, mono">long il_instance_id</FONT></DIV><DIV><FONT face="Courier New, Courier, mono">long li_ret</FONT></DIV><DIV><FONT face="Courier New, Courier, mono">string ls_doc, ls_buf</FONT></DIV><DIV><FONT face="Courier New, Courier, mono">long ll_len</FONT></DIV><DIV><FONT face="Courier New, Courier, mono">blob lbob_doc</FONT></DIV><DIV>&nbsp;</DIV><FONT face="Courier New, Courier, mono"><DIV><FONT face="Courier New, Courier, mono">il_instance_id = DPLCreateLibrary()</FONT></DIV><DIV><FONT face="Courier New, Courier, mono">li_ret = DPLunlockkey(il_instance_id, ls_debenu_key)<BR>if li_ret = 0 then <BR>&nbsp;messagebox('Error','Could not unlock the Debenu tool.')<BR>&nbsp;return false<BR>end if</FONT></DIV><DIV><FONT face="Courier New, Courier, mono">ls_doc = string(lblob_doc)&nbsp; //lblob_doc is a PDF blob from the database<BR>ll_len = len(ls_doc)</FONT></DIV><DIV>ls_buf = DPLCreateBuffer(il_instance_id, ll_len)<BR>if ls_buf = '0' then<BR>&nbsp;messagebox('Error','Could not create buffer.')<BR>&nbsp;return false<BR>end if<BR>DPLAddToBuffer(il_instance_id, ls_buf, ls_doc, len(ls_doc))<BR>li_ret = DPLLoadFromString(il_instance_id, ls_buf,'')<BR>if li_ret = 0 then <BR>&nbsp;messagebox('Error','Could not load the document (' + string(dpllasterrorcode(il_instance_id)) + ')')<BR>&nbsp;return false<BR>end if<BR>DPLReleaseBuffer(il_instance_id, ls_buf)</DIV><DIV>&nbsp;</DIV><DIV><FONT face="Verdana, Arial, Helvetica, sans-serif">Any ideas?</FONT></DIV><DIV><FONT face="Verdana, Arial, Helvetica, sans-serif">Thanks!</FONT></DIV><DIV></FONT>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 11 Mar 2013 19:03:41 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/dplloadfromstring-for-powerbuilder_topic2560_post10582.html#10582</guid>
  </item> 
 </channel>
</rss>