• Advertisement
Sign in to follow this  

linking problem

This topic is 4182 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
Thanks you so much , i did what you told
It is working now.

thanks once again..

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement