<?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 : LIB Edition... unresolved externals</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 : LIB Edition... unresolved externals]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 01 May 2026 03:43:25 +0000</pubDate>
  <lastBuildDate>Thu, 24 Feb 2011 12:21:37 +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=1747</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[LIB Edition... unresolved externals : I want to integrate QuickPDF as...]]></title>
   <link>http://www.quickpdf.org/forum/lib-edition-unresolved-externals_topic1747_post7632.html#7632</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1543">D.Bugger</a><br /><strong>Subject:</strong> 1747<br /><strong>Posted:</strong> 24 Feb 11 at 12:21PM<br /><br /><br>&nbsp;I want to integrate QuickPDF as LIB Edition into my App. To get familiar with QuickPDF I wanted to start with the HelloWorld sample, but this uses the DLL Edition. So I made some changes to the Project: <br>- change QuickPDFDLL0721.h to QuickPDFLIB0723.h<br>- add QuickPDFLIB0723.lib and crypt32.lib as Libraries<br>- remove QuickPDFDLL0721.cpp<br>- added the 3 res-files to the project<br>- and in the OnBnClickedHelloWorld I threw out the original code and inserted the code from the GettingStarted documentation:<br>&gt;&gt;&gt;<br>&nbsp; QUICKPDFLIB0723_DllMain(GetModuleHandle(NULL), DLL_PROCESS_ATTACH, NULL);<br>&nbsp; int InstanceID = QuickPDFCreateLibrary();<br>&nbsp; if (QuickPDFUnlockKey(InstanceID, "XXXsamplelicenceXXX") == 1) <br>&nbsp; {<br>&nbsp;&nbsp;&nbsp; QuickPDFDrawText(InstanceID, 100, 500, "Hello world");<br>&nbsp;&nbsp;&nbsp; QuickPDFSaveToFile(InstanceID, "C:\\out\\HelloFromLIB.pdf");<br>&nbsp; }<br>&nbsp; QuickPDFReleaseLibrary(InstanceID);<br>&nbsp; QUICKPDFLIB0723_DllMain(GetModuleHandle(NULL), DLL_PROCESS_DETACH, NULL);<br>&lt;&lt;&lt;<br><br>&nbsp;When I produce this project (with "Visual Studio 2010", Debug mode) I get several warnings and "unresolved externals":<br>&gt;&gt;&gt;<br>Warning 1&nbsp; warning LNK4049: locally defined symbol _strlen imported&nbsp; QuickPDFLIB0723.lib(QuickPDFLIB0723.obj)&nbsp; Hello World - LIB Edition<br>Warning 2&nbsp; warning LNK4049: locally defined symbol _vsprintf imported&nbsp; QuickPDFLIB0723.lib(QuickPDFLIB0723.obj)&nbsp; Hello World - LIB Edition<br>Warning 3&nbsp; warning LNK4049: locally defined symbol _printf imported&nbsp; QuickPDFLIB0723.lib(QuickPDFLIB0723.obj)&nbsp; Hello World - LIB Edition<br>Warning 4&nbsp; warning LNK4049: locally defined symbol _ceil imported&nbsp; QuickPDFLIB0723.lib(QuickPDFLIB0723.obj)&nbsp; Hello World - LIB Edition<br>Warning 5&nbsp; warning LNK4049: locally defined symbol _floor imported QuickPDFLIB0723.lib(QuickPDFLIB0723.obj)&nbsp; Hello World - LIB Edition<br>Warning 6&nbsp; warning LNK4049: locally defined symbol _memcpy imported&nbsp; QuickPDFLIB0723.lib(QuickPDFLIB0723.obj)&nbsp; Hello World - LIB Edition<br>Warning 7&nbsp; warning LNK4049: locally defined symbol _memset imported&nbsp; QuickPDFLIB0723.lib(QuickPDFLIB0723.obj)&nbsp; Hello World - LIB Edition<br>Warning 8&nbsp; warning LNK4049: locally defined symbol _realloc imported QuickPDFLIB0723.lib(QuickPDFLIB0723.obj)&nbsp; Hello World - LIB Edition<br>Warning 9&nbsp; warning LNK4049: locally defined symbol _free imported&nbsp; QuickPDFLIB0723.lib(QuickPDFLIB0723.obj)&nbsp; Hello World - LIB Edition<br>Warning 10 warning LNK4049: locally defined symbol _calloc imported&nbsp; QuickPDFLIB0723.lib(QuickPDFLIB0723.obj)&nbsp; Hello World - LIB Edition<br>Warning 11 warning LNK4049: locally defined symbol _malloc imported&nbsp; QuickPDFLIB0723.lib(QuickPDFLIB0723.obj)&nbsp; Hello World - LIB Edition<br>Error 12&nbsp;&nbsp; error LNK2001: unresolved external symbol __imp__strncpy&nbsp; QuickPDFLIB0723.lib(QuickPDFLIB0723.obj)&nbsp; Hello World - LIB Edition<br>Error 13&nbsp;&nbsp; error LNK2001: unresolved external symbol __imp___ftol&nbsp; QuickPDFLIB0723.lib(QuickPDFLIB0723.obj)&nbsp; Hello World - LIB Edition<br>Error 14&nbsp;&nbsp; error LNK2001: unresolved external symbol __imp__fprintf&nbsp; QuickPDFLIB0723.lib(QuickPDFLIB0723.obj)&nbsp; Hello World - LIB Edition<br>Error 15&nbsp;&nbsp; error LNK2001: unresolved external symbol __imp__pow&nbsp; QuickPDFLIB0723.lib(QuickPDFLIB0723.obj)&nbsp; Hello World - LIB Edition<br>&lt;&lt;&lt;<br>&nbsp;<br>&nbsp;I tried to twiddle around with some libraries (msvcrtd.lib etc.) but I only got the problems to get bigger.<br>Who has a good idea how this problem can be solved?! Thank you in advance<br><br><br>&nbsp;]]>
   </description>
   <pubDate>Thu, 24 Feb 2011 12:21:37 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/lib-edition-unresolved-externals_topic1747_post7632.html#7632</guid>
  </item> 
 </channel>
</rss>