Archived Forum Post

Index of archived forum posts

Question:

Unresolved External MSVC 2015

Nov 09 '16 at 14:13

Trying to build:

include "stdafx.h"

include "ckftp2.h"

int _tmain(int argc, _TCHAR* argv[]) { CkFtp2 ftp; ftp.UnlockComponent("anything for 30 days"); ftp.put_Hostname("x.x.x.x"); ftp.put_Username("xxxxx"); ftp.put_Password("xxxxx"); if (ftp.Connect()) ftp.Disconnect(); return 0; } (The FTP connection parameters above have been replaced in this email but are valid in the actual program.) Compiles normally. Getting: Unresolved External impsprintf (and other imp) I have the Chilkat library in VC++ Directories (include and lib)and in the Linker's Additional Library directories. Your documentation says I need to include other Microsoft libraries as well. I cannot figure out how to do that.


Answer

A co-worker figured it out... I was linking with the wrong version of Chilkat for my compiler.