Quote:
Originally posted by Jen P
I am trying to use Adobe's FDF Toolkit to generate a FDF file to populate a PDF. I have their .h, .lib, and. dll are have put them all in the correct places; they are all in my path. However, when I compile my cpp, I get linking errors:
error LNK2029: "?FDFSetFile" : unresolved external
error LNK2029: "?FDFSetValue" : unresolved external
error LNK2029: "?FDFSave" : unresolved external
error LNK2029: "?FDFClose" : unresolved external
error LNK2029: "?FDFCreate" : unresolved external
Why is this? The library is there, it just isn't recognizing it.
I am using IBM's Visual Age C++ on a WinNT System. Could there be a problem that the adobe libs were compiled with a different c++ compiler than me? Maybe I'm not linking correctly? Maybe I'm not compiling correctly? Is it case sensitive?
Any help would be greatly appreciated.
You say you have the ".lib" file, but do you know which compiler produced the file? Import libraries are compiler dependent, so a VC++ lib file may not work for an IBM compiler. I know a VC++ lib file will not work for a C++ Builder or Borland compiler.