Use a dll from a c++ program. (borland c++ builder and in general)
问题 I'm trying to use a dll, namely libcurl, with my program, but, it's not linking. Libcurl comes with .h files that I can include (takes care of dllimport), but then I guess I must specify which dll to actually use when linking somehow... How do I do that? I'm compiling with Borland C++ builder, but I really want to know how these things work in general... EDIT: This is the code (straight c/p from curl homepage) bool FTPGetFile::ConnectToFTP(string ftpServer){ CURL *curl; CURLcode res; curl =