linking problem

Started by
1 comment, last by km123 17 years, 9 months ago
I created a project added some source cpp files and include header files. In the project properties I added the libs to be linked. gave the path where the dll and libs are present. I am using 1 header file whose corresponding lib file and dll i have. It is compiling fine but while linking it is giveing the error error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall CFTPget::CFTPget(void)" (__imp_??0CFTPget@@QAE@XZ) referenced in function "public: __thiscall ftpget_resume::ftpget_resume(void)" (??0ftpget_resume@@QAE@XZ) the class's header file i added and the corresponding lib path i gave in project properties and also in the external libraries i had added this lib. i dont know what is the problem plz help
Advertisement
I think it is finding the .h file, but it cannot find the library.

IMHO Vs does a really bad job of helping you include these .dlls. If you trying placing the .dll (or lib) right in your debug folder and see if it works.

J
We are what we do repeatedly. Excellence, then, is not an act, but a habit.
Thanks you so much , i did what you told
It is working now.

thanks once again..

This topic is closed to new replies.

Advertisement