Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - LIB Edition... unresolved externals
  FAQ FAQ  Forum Search   Register Register  Login Login

LIB Edition... unresolved externals

 Post Reply Post Reply
Author
Message
D.Bugger View Drop Down
Beginner
Beginner


Joined: 24 Feb 11
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote D.Bugger Quote  Post ReplyReply Direct Link To This Post Topic: LIB Edition... unresolved externals
    Posted: 24 Feb 11 at 12:21PM

 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:
- change QuickPDFDLL0721.h to QuickPDFLIB0723.h
- add QuickPDFLIB0723.lib and crypt32.lib as Libraries
- remove QuickPDFDLL0721.cpp
- added the 3 res-files to the project
- and in the OnBnClickedHelloWorld I threw out the original code and inserted the code from the GettingStarted documentation:
>>>
  QUICKPDFLIB0723_DllMain(GetModuleHandle(NULL), DLL_PROCESS_ATTACH, NULL);
  int InstanceID = QuickPDFCreateLibrary();
  if (QuickPDFUnlockKey(InstanceID, "XXXsamplelicenceXXX") == 1)
  {
    QuickPDFDrawText(InstanceID, 100, 500, "Hello world");
    QuickPDFSaveToFile(InstanceID, "C:\\out\\HelloFromLIB.pdf");
  }
  QuickPDFReleaseLibrary(InstanceID);
  QUICKPDFLIB0723_DllMain(GetModuleHandle(NULL), DLL_PROCESS_DETACH, NULL);
<<<

 When I produce this project (with "Visual Studio 2010", Debug mode) I get several warnings and "unresolved externals":
>>>
Warning 1  warning LNK4049: locally defined symbol _strlen imported  QuickPDFLIB0723.lib(QuickPDFLIB0723.obj)  Hello World - LIB Edition
Warning 2  warning LNK4049: locally defined symbol _vsprintf imported  QuickPDFLIB0723.lib(QuickPDFLIB0723.obj)  Hello World - LIB Edition
Warning 3  warning LNK4049: locally defined symbol _printf imported  QuickPDFLIB0723.lib(QuickPDFLIB0723.obj)  Hello World - LIB Edition
Warning 4  warning LNK4049: locally defined symbol _ceil imported  QuickPDFLIB0723.lib(QuickPDFLIB0723.obj)  Hello World - LIB Edition
Warning 5  warning LNK4049: locally defined symbol _floor imported QuickPDFLIB0723.lib(QuickPDFLIB0723.obj)  Hello World - LIB Edition
Warning 6  warning LNK4049: locally defined symbol _memcpy imported  QuickPDFLIB0723.lib(QuickPDFLIB0723.obj)  Hello World - LIB Edition
Warning 7  warning LNK4049: locally defined symbol _memset imported  QuickPDFLIB0723.lib(QuickPDFLIB0723.obj)  Hello World - LIB Edition
Warning 8  warning LNK4049: locally defined symbol _realloc imported QuickPDFLIB0723.lib(QuickPDFLIB0723.obj)  Hello World - LIB Edition
Warning 9  warning LNK4049: locally defined symbol _free imported  QuickPDFLIB0723.lib(QuickPDFLIB0723.obj)  Hello World - LIB Edition
Warning 10 warning LNK4049: locally defined symbol _calloc imported  QuickPDFLIB0723.lib(QuickPDFLIB0723.obj)  Hello World - LIB Edition
Warning 11 warning LNK4049: locally defined symbol _malloc imported  QuickPDFLIB0723.lib(QuickPDFLIB0723.obj)  Hello World - LIB Edition
Error 12   error LNK2001: unresolved external symbol __imp__strncpy  QuickPDFLIB0723.lib(QuickPDFLIB0723.obj)  Hello World - LIB Edition
Error 13   error LNK2001: unresolved external symbol __imp___ftol  QuickPDFLIB0723.lib(QuickPDFLIB0723.obj)  Hello World - LIB Edition
Error 14   error LNK2001: unresolved external symbol __imp__fprintf  QuickPDFLIB0723.lib(QuickPDFLIB0723.obj)  Hello World - LIB Edition
Error 15   error LNK2001: unresolved external symbol __imp__pow  QuickPDFLIB0723.lib(QuickPDFLIB0723.obj)  Hello World - LIB Edition
<<<
 
 I tried to twiddle around with some libraries (msvcrtd.lib etc.) but I only got the problems to get bigger.
Who has a good idea how this problem can be solved?! Thank you in advance


 
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store