<?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 : DPLUnlockkey not working with Powerbuilder 8</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 : DPLUnlockkey not working with Powerbuilder 8]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 01 May 2026 04:01:14 +0000</pubDate>
  <lastBuildDate>Mon, 16 Sep 2013 07:12:20 +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=2712</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[DPLUnlockkey not working with Powerbuilder 8 : Jean,We do not have access here...]]></title>
   <link>http://www.quickpdf.org/forum/dplunlockkey-not-working-with-powerbuilder-8_topic2712_post11186.html#11186</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1483">AndrewC</a><br /><strong>Subject:</strong> 2712<br /><strong>Posted:</strong> 16 Sep 13 at 7:12AM<br /><br />Jean,<div><br></div><div>We do not have access here to PowerBuilder 8. &nbsp;It sounds like version 8 works a little differently to to 9 and 10. &nbsp;If you can send us your final import file we should be able to include it automatically in future QPL releases.</div><div><br></div><div>You can email to to support@debenu.com.</div><div><br></div><div>Andrew.</div>]]>
   </description>
   <pubDate>Mon, 16 Sep 2013 07:12:20 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/dplunlockkey-not-working-with-powerbuilder-8_topic2712_post11186.html#11186</guid>
  </item> 
  <item>
   <title><![CDATA[DPLUnlockkey not working with Powerbuilder 8 : Hi all,  Just to let everyone...]]></title>
   <link>http://www.quickpdf.org/forum/dplunlockkey-not-working-with-powerbuilder-8_topic2712_post11185.html#11185</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2431">jfields</a><br /><strong>Subject:</strong> 2712<br /><strong>Posted:</strong> 13 Sep 13 at 8:59PM<br /><br />Hi all,<DIV>&nbsp;</DIV><DIV>Just to let everyone know I finally figured it out through trial and error:</DIV><DIV>&nbsp;</DIV><DIV>Here is how I modified the header file:</DIV><DIV>&nbsp;</DIV><DIV>removed all ";ansi" from every line</DIV><DIV>&nbsp;</DIV><DIV>next, I used a DLL Exporter to find all the function names in the&nbsp;DLL&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>for functions with corresponding "A" functions, for these functions I added the "A" to the ALIAS FOR name in the header</DIV><DIV>&nbsp;</DIV><DIV>for those functions without corresponding "A" functions, I removed the whole ALIAS FOR part </DIV><DIV>&nbsp;</DIV><DIV>Thanks to all that helped.</DIV><DIV>-Jean</DIV>]]>
   </description>
   <pubDate>Fri, 13 Sep 2013 20:59:37 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/dplunlockkey-not-working-with-powerbuilder-8_topic2712_post11185.html#11185</guid>
  </item> 
  <item>
   <title><![CDATA[DPLUnlockkey not working with Powerbuilder 8 :  You only need the &amp;#034;;ansi&amp;#034;...]]></title>
   <link>http://www.quickpdf.org/forum/dplunlockkey-not-working-with-powerbuilder-8_topic2712_post11159.html#11159</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=121">Wheeley</a><br /><strong>Subject:</strong> 2712<br /><strong>Posted:</strong> 04 Sep 13 at 8:44PM<br /><br />You only need the ";ansi" when you are passing <b>string</b> arguments. So it should be<br><br>FUNCTION long DPLCreateLibrary() LIBRARY "DebenuPDFLibraryDLL0915.dll" ALIAS FOR "DPLCreateLibrary"<br><br>OR just<br><br>FUNCTION long CreateLibrary() LIBRARY "DebenuPDFLibraryDLL0915.dll" ALIAS FOR "DPLCreateLibrary"<br><br>Wheeley<br>]]>
   </description>
   <pubDate>Wed, 04 Sep 2013 20:44:20 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/dplunlockkey-not-working-with-powerbuilder-8_topic2712_post11159.html#11159</guid>
  </item> 
  <item>
   <title><![CDATA[DPLUnlockkey not working with Powerbuilder 8 : Thanks Wheeley for your reply. My...]]></title>
   <link>http://www.quickpdf.org/forum/dplunlockkey-not-working-with-powerbuilder-8_topic2712_post11157.html#11157</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2431">jfields</a><br /><strong>Subject:</strong> 2712<br /><strong>Posted:</strong> 04 Sep 13 at 1:49AM<br /><br /><P>Thanks Wheeley for your reply.</P><DIV>My application is not getting to the DPLUnlockKey function, it is throwing an error at DPLCreateLibrary</DIV><DIV>&nbsp;</DIV><DIV>FUNCTION long DPLCreateLibrary() LIBRARY "DebenuPDFLibraryDLL0915.dll" ALIAS FOR "DPLCreateLibrary;ansi"</DIV><DIV><BR>When I run my application, I get the following error:<BR>Powerbuilder Application Execution Error (R0015) <BR>Application Terminated<BR>Error: Error calling external function DPLCreateLibrary;ansi at line...</DIV><P>As far as I can tell, the DLL is loading into memory correctly.</P><P>Anything else I should check?</P><P>Thanks in advance,<BR>-Jean</P><DIV>Edit:&nbsp; I had tried DPLCreateLibraryA, but used DLLExport to find there was no DPLCreateLibraryA function.</DIV><span style="font-size:10px"><br /><br />Edited by jfields - 04 Sep 13 at 2:07AM</span>]]>
   </description>
   <pubDate>Wed, 04 Sep 2013 01:49:07 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/dplunlockkey-not-working-with-powerbuilder-8_topic2712_post11157.html#11157</guid>
  </item> 
  <item>
   <title><![CDATA[DPLUnlockkey not working with Powerbuilder 8 : Powerbuilder 8 uses Ansi strings...]]></title>
   <link>http://www.quickpdf.org/forum/dplunlockkey-not-working-with-powerbuilder-8_topic2712_post11126.html#11126</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=121">Wheeley</a><br /><strong>Subject:</strong> 2712<br /><strong>Posted:</strong> 21 Aug 13 at 6:06AM<br /><br />Powerbuilder 8 uses <b>Ansi</b> strings internally. So you need to use the alias for clause for your external function declaration. Unfortunately, Debenu hasn't been keeping up their include file correctly. From the file for 9.15 I see this:<br><br>FUNCTION long DPLUnlockKey(long InstanceID, string LicenseKey) LIBRARY "DebenuPDFLibraryDLL0915.dll" ALIAS FOR "DPLUnlockKey;ansi"<br><br>But it should be this:<br><br>FUNCTION long DPLUnlockKey(long InstanceID, string LicenseKey) LIBRARY "DebenuPDFLibraryDLL0915.dll" ALIAS FOR "DPLUnlockKey<b>A</b>;ansi"<br><br>So, for every function you use you need to append an <b>A</b> character to the function name so you direct Powerbuilder to use the ansi function not the unicode function.<br><br>Hope this helps<br>Wheeley<br>]]>
   </description>
   <pubDate>Wed, 21 Aug 2013 06:06:00 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/dplunlockkey-not-working-with-powerbuilder-8_topic2712_post11126.html#11126</guid>
  </item> 
  <item>
   <title><![CDATA[DPLUnlockkey not working with Powerbuilder 8 : Hi all,  We have purchased a...]]></title>
   <link>http://www.quickpdf.org/forum/dplunlockkey-not-working-with-powerbuilder-8_topic2712_post11125.html#11125</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2431">jfields</a><br /><strong>Subject:</strong> 2712<br /><strong>Posted:</strong> 21 Aug 13 at 3:36AM<br /><br />Hi all,<DIV>&nbsp;</DIV><DIV>We have purchased a license and the license works with the vb6 sample code and 9.15 active X object.</DIV><DIV>&nbsp;</DIV><DIV>I am now trying to implement the license in Powerbuilder 8 with the 9.15 dll.&nbsp; </DIV><DIV>&nbsp;</DIV><DIV>DPLCreateLibrary is returning a nonzero number, so I am assuming that the instance id is good.</DIV><DIV>&nbsp;</DIV><DIV>When I pass the instance id to DPLUnlockkey with our license, DPLUnlockkey returns 0 with no messages.</DIV><DIV>&nbsp;</DIV><DIV>Any ideas what I am doing wrong?&nbsp; My code is similar to <a href="http://www.quickpdf.org/forum/dplloadfromstring-for-powerbuilder_topic2560.html?KW=unlockkey" rel="nofollow">http://www.quickpdf.org/forum/dplloadfromstring-for-powerbuilder_topic2560.html?KW=unlockkey</A></DIV><DIV>&nbsp;</DIV><DIV>I loaded the Powerbuild import header that was for PB version&nbsp;&gt; 10 and removed the "ALIAS FOR" part for these 2 functions.</DIV><DIV>&nbsp;</DIV><DIV>Any help would be appreciated.</DIV><DIV>&nbsp;</DIV><DIV>Thanks,</DIV><DIV>-Jean</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 21 Aug 2013 03:36:00 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/dplunlockkey-not-working-with-powerbuilder-8_topic2712_post11125.html#11125</guid>
  </item> 
 </channel>
</rss>