<?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 : C++ header files for iSED dll</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 : C++ header files for iSED dll]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 01 May 2026 05:09:13 +0000</pubDate>
  <lastBuildDate>Mon, 12 Dec 2005 16:37:09 +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=164</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[C++ header files for iSED dll : I have built a wrapper class in...]]></title>
   <link>http://www.quickpdf.org/forum/c-header-files-for-ised-dll_topic164_post663.html#663</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=177">Stephen0838</a><br /><strong>Subject:</strong> 164<br /><strong>Posted:</strong> 12 Dec 05 at 4:37PM<br /><br /><P>I have built a wrapper class in vc++6 that loads the DLL, Registers the reg code and has the commands I use&nbsp; using the load libary function. a small sample of the code is below.</P><P>First create a data type for each command argument</P><P>the syntax is typdef return value (CALLBACK* type name)(input values);</P><P>typedef long (CALLBACK* ISED_Oint_PTR)();<BR>typedef long (CALLBACK* ISED_Oint_Iint_PTR)(long);<BR>typedef long (CALLBACK* ISED_Oint_Ichar_PTR)(char *);<BR>typedef long (CALLBACK* ISED_Oint_Ichar_Iint_PTR)(char *, long);<BR>typedef long (CALLBACK* ISED_Oint_Iddddiii_PTR)(double, double, double, double, long, long, long);<BR>typedef long (CALLBACK* ISED_Oint_Iddd_PTR)(double, double, double);<BR><BR>Next declare the commands in a class</P><P>class CSECiSEDDLL<BR>{<BR>&nbsp;public:<BR>&nbsp;//Methods<BR>&nbsp;&nbsp;CSECiSEDDLL();<BR>&nbsp;&nbsp;~CSECiSEDDLL();<BR>&nbsp;//Data<BR>&nbsp;&nbsp;long&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ErrorCode;<BR>&nbsp;&nbsp;bool&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Loaded;<BR>&nbsp;&nbsp;bool&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;UnLocked;<BR>&nbsp;&nbsp;ISED_Oint_PTR&nbsp;&nbsp;&nbsp;&nbsp;NewDocument;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;ISED_Oint_Iint_PTR&nbsp;&nbsp;&nbsp;SetOrigin;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;ISED_Oint_Iint_PTR&nbsp;&nbsp;&nbsp;SetMeasurementUnits;&nbsp;<BR>&nbsp;&nbsp;ISED_Oint_Ichar_PTR&nbsp;&nbsp;&nbsp;SetPageSize;&nbsp;&nbsp;&nbsp;<BR></P><P>private:<BR>&nbsp;//Methods<BR>&nbsp;&nbsp;void Unlock();<BR>&nbsp;&nbsp;void Init();<BR>&nbsp;//Data<BR>&nbsp;&nbsp;HINSTANCE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DLL_Handle;&nbsp;&nbsp;&nbsp;&nbsp;// Handle to DLL<BR>&nbsp;&nbsp;string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;UnlockCode;<BR>&nbsp;&nbsp;ISED_Oint_Ichar_PTR&nbsp;&nbsp;&nbsp;UnlockKey;</P><P>};</P><P>Now&nbsp;code the class remember that the commands in the DLL are all prefaced with iSED</P><P>//start wrapper<BR>CSECiSEDDLL::CSECiSEDDLL()<BR>{<BR>&nbsp;UnLocked = false;<BR>&nbsp;Loaded = false;<BR>&nbsp;Init();<BR>&nbsp;UnlockCode = "XXXXXXXXXXXXX";<BR>&nbsp;Unlock();<BR>}</P><P>CSECiSEDDLL::~CSECiSEDDLL()<BR>{<BR>&nbsp;FreeLibrary(DLL_Handle);<BR>}</P><P>void CSECiSEDDLL::Unlock()<BR>{<BR>&nbsp;int errorcode;<BR>&nbsp;errorcode = UnlockKey (const_cast &lt;char *&gt; (UnlockCode.c_str()));<BR>&nbsp;if (errorcode != 0)<BR>&nbsp;{<BR>&nbsp;&nbsp;UnLocked = true;<BR>&nbsp;}<BR>}</P><P>void CSECiSEDDLL::Init()<BR>{<BR>&nbsp;DLL_Handle = LoadLibrary("iSEDQuickPDF.dll");<BR>&nbsp;if (DLL_Handle != NULL)<BR>&nbsp;{<BR>&nbsp;&nbsp;ErrorCode = 0;<BR>&nbsp;&nbsp;Loaded = true;</P><P>&nbsp;&nbsp;UnlockKey = (ISED_Oint_Ichar_PTR)GetProcAddress(DLL_Handle,"iSEDUnlockKey");<BR>&nbsp;&nbsp;NewDocument = (ISED_Oint_PTR)GetProcAddress(DLL_Handle,"iSEDNewDocument");<BR>&nbsp;&nbsp;SetOrigin = (ISED_Oint_Iint_PTR)GetProcAddress(DLL_Handle,"iSEDSetOrigin");<BR>&nbsp;&nbsp;SetMeasurementUnits = (ISED_Oint_Iint_PTR)GetProcAddress(DLL_Handle,"iSEDSetMeasurementUnits");<BR>&nbsp;&nbsp;SetPageSize = (ISED_Oint_Ichar_PTR)GetProcAddress(DLL_Handle,"iSEDSetPageSize");<BR>&nbsp;&nbsp;NewPages = (ISED_Oint_Iint_PTR)GetProcAddress(DLL_Handle,"iSEDNewPages");<BR>&nbsp;&nbsp;SelectPage = (ISED_Oint_Iint_PTR)GetProcAddress(DLL_Handle,"iSEDSelectPage");<BR>&nbsp;&nbsp;AddImageFromFile = (ISED_Oint_Ichar_Iint_PTR)GetProcAddress(DLL_Handle,"iSEDAddImageFromFile");<BR>&nbsp;&nbsp;SaveToFile = (ISED_Oint_Ichar_PTR)GetProcAddress(DLL_Handle,"iSEDSaveToFile");<BR>&nbsp;&nbsp;}<BR>}</P><P>&nbsp;</P><P>To use declare an instance of the wrapper and use the commands</P><P>CSECiSEDDLL ISED;<BR>long&nbsp; rv;<BR>rv = ISED.LoadFromFile(const_cast &lt;char *&gt; (filename.c_str()));</P>]]>
   </description>
   <pubDate>Mon, 12 Dec 2005 16:37:09 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/c-header-files-for-ised-dll_topic164_post663.html#663</guid>
  </item> 
  <item>
   <title><![CDATA[C++ header files for iSED dll : Hi Almi!  I&amp;#039;ve &amp;#034;googeled&amp;#034;...]]></title>
   <link>http://www.quickpdf.org/forum/c-header-files-for-ised-dll_topic164_post448.html#448</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 164<br /><strong>Posted:</strong> 03 Nov 05 at 5:08AM<br /><br />Hi Almi!<br /><br />I've "googeled" a bit ... and i've found an old forum-post where somebody have the same problems with QuickPDF. Perhpas this could help you, too.<br /><br />Try this link:<br />http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore/html/_core_getprocaddress.asp<br /><br />You basically call LoadLibrary passing in the dll path. Then call GetProcAddress for the function pointers you want to use.]]>
   </description>
   <pubDate>Thu, 03 Nov 2005 05:08:26 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/c-header-files-for-ised-dll_topic164_post448.html#448</guid>
  </item> 
  <item>
   <title><![CDATA[C++ header files for iSED dll : Does anybody haveheader files...]]></title>
   <link>http://www.quickpdf.org/forum/c-header-files-for-ised-dll_topic164_post438.html#438</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=139">Almi</a><br /><strong>Subject:</strong> 164<br /><strong>Posted:</strong> 02 Nov 05 at 9:36AM<br /><br /><P>Does anybody have&nbsp;header files for C++ for iSED?</P>]]>
   </description>
   <pubDate>Wed, 02 Nov 2005 09:36:05 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/c-header-files-for-ised-dll_topic164_post438.html#438</guid>
  </item> 
 </channel>
</rss>