<?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 : DLL won&#039;t load</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 : DLL won&#039;t load]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 07 Jun 2026 03:42:02 +0000</pubDate>
  <lastBuildDate>Wed, 12 Jan 2011 02:33:55 +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=1700</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[DLL won&#039;t load : System path variable %USERPROFILE%...]]></title>
   <link>http://www.quickpdf.org/forum/dll-wont-load_topic1700_post7457.html#7457</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1251">Dimitry</a><br /><strong>Subject:</strong> 1700<br /><strong>Posted:</strong> 12 Jan 11 at 2:33AM<br /><br />System path variable %USERPROFILE% value should be used&nbsp;for proper access to <DIV>..\Application Data&nbsp;(..\AppData\Roaming).&nbsp;</DIV><DIV>The %USERPROFILE% path is usually used to store application data including executable files and libraries which actually can be executed/loaded. </DIV><DIV>The problem may appear with %USERPROFILE% folders access rights.</DIV><DIV>&nbsp;</DIV><DIV>Here is Delphi code snippet that may help you. It was tested with Windows XP and Windows 7.</DIV><DIV>If it doesn't work&nbsp;you should&nbsp;check user and folders access rights matching.</DIV><DIV>&nbsp;</DIV><DIV>uses</DIV><DIV>&nbsp; QuickPDFDLL0723;</DIV><DIV>&nbsp;</DIV><DIV>const<BR>&nbsp; USER_PROFILE = 'USERPROFILE';<BR>&nbsp; APPLICATION_DATA = '\Application Data';<BR>&nbsp; WORK_DIR = '\subdir';<BR>&nbsp; LIBRARY_NAME = '\QuickPDFDLL0723.dll';</DIV><DIV><BR>var<BR>&nbsp; libpath: string;<BR>&nbsp; qpl: TQuickPDFDLL0723;</DIV><DIV><BR>begin<BR>&nbsp; libpath := GetEnvironmentVariable(USER_PROFILE) +<BR>&nbsp;&nbsp;&nbsp; APPLICATION_DATA + WORK_DIR + LIBRARY_NAME;<BR>&nbsp; // Check is QuickPDF*.dll exists at libpath<BR>&nbsp; if not FileExists(libpath) then<BR>&nbsp;&nbsp;&nbsp; Exit;<BR>&nbsp; qpl := TQuickPDFDLL0723.Create(libpath);<BR>&nbsp; try<BR>&nbsp;&nbsp;&nbsp; with qpl do<BR>&nbsp;&nbsp;&nbsp; begin<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; UnlockKey('type your license key here');<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SetOrigin(1);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DrawText(100, 100, 'Hello DLL!');<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SaveToFile('sample.pdf');<BR>&nbsp;&nbsp;&nbsp; end;<BR>&nbsp; finally<BR>&nbsp;&nbsp;&nbsp; qpl.Free;<BR>&nbsp; end;<BR>end;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 12 Jan 2011 02:33:55 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/dll-wont-load_topic1700_post7457.html#7457</guid>
  </item> 
  <item>
   <title><![CDATA[DLL won&#039;t load : Hi RAG!Normally applications using...]]></title>
   <link>http://www.quickpdf.org/forum/dll-wont-load_topic1700_post7437.html#7437</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 1700<br /><strong>Posted:</strong> 09 Jan 11 at 3:41PM<br /><br />Hi RAG!<br><br>Normally applications using dlls are looking first in system32<br>or sysWow64 and after this they are looking in the own app-directory.<br>If there are different dlls on the system (in system32 and app-path for example)<br>this can be a problem?<br><br>Cheers and welcome here,<br>Ingo<br><br><br><br>]]>
   </description>
   <pubDate>Sun, 09 Jan 2011 15:41:34 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/dll-wont-load_topic1700_post7437.html#7437</guid>
  </item> 
  <item>
   <title><![CDATA[DLL won&#039;t load : What is the exact error message...]]></title>
   <link>http://www.quickpdf.org/forum/dll-wont-load_topic1700_post7436.html#7436</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1483">AndrewC</a><br /><strong>Subject:</strong> 1700<br /><strong>Posted:</strong> 09 Jan 11 at 1:35AM<br /><br />What is the exact error message when the program runs on the client PC and it cannot find / load the DLL.<div><br></div><div>I also assume you are trying this in a debugger. &nbsp;What is the return value of the LoadLibrary call. &nbsp;Maybe that will give you more information.</div><div><br></div><div>An EXE file should also search for DLL's in the current directory. &nbsp;ie . &nbsp;The same directory as the EXE file itself. &nbsp;This sounds like what you want to happen but it is not working.</div><div><br></div><div>Have your tried posting a support call to RealSoftware. &nbsp;It you can get the DLL to load in a different location then it is unlikely to be related to QuickPDF but more to RealSoftware. &nbsp;Do you use other DLL's in the same way with RealSoftware. &nbsp;If not you many want to quickly load a different DLL to see if it has the same problem.</div>]]>
   </description>
   <pubDate>Sun, 09 Jan 2011 01:35:50 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/dll-wont-load_topic1700_post7436.html#7436</guid>
  </item> 
  <item>
   <title><![CDATA[DLL won&#039;t load : We update client programs remotely...]]></title>
   <link>http://www.quickpdf.org/forum/dll-wont-load_topic1700_post7426.html#7426</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1503">RAG</a><br /><strong>Subject:</strong> 1700<br /><strong>Posted:</strong> 05 Jan 11 at 11:48PM<br /><br />We update client programs remotely by storing the *.exe in a database blob record on a central server. When updates are available, they are loaded from the server to the client and written to the local PC.<br><br>With Windows 7, that means that we can't use \program files\* since it would take elevated permissions, etc.<br><br>So, we install and update the programs for the client in \user\app data\roaming\subdir\*<br><br>That works fine... except... the DLL version (also placed in the roaming directory), will not load in our report programs.<br><br>We use a declare to create the library:<br>soft declare function QuickPDFCreateLibrary lib pdflib () as integer<br><br>The programming platform is RealSoftware, so the syntax of the declare may be a bit different that VB6, etc. The pdflib is a string constant with the name of the dll "QuickPDFDLL0722.dll"<br><br>I can get it to load if I place the DLL in "\Program Files\subdir\QuickPDFDLL0722.dll" and reference the pdflib constant to that address, but it just won't load if it is in the roaming directory.<br><br>The programs on the client all run from the roaming directory.<br><br>Help!<br><br>RAG<br>------------<br>]]>
   </description>
   <pubDate>Wed, 05 Jan 2011 23:48:58 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/dll-wont-load_topic1700_post7426.html#7426</guid>
  </item> 
 </channel>
</rss>