Hello friend,
Static library(.lib) and dynamic library(.dll) distinction in C++?
Static libraries have what use?What is the import library? Import library have what use?
Thanks in advance.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
VulpesRank #55 · 29.2K reputationPosted Jan 28, 2015, 5:54 AM EST
VulpesRank #55 · 29.2K reputationPosted Jan 29, 2015, 5:48 AM EST
Ken HRank #2,315 · 610 reputationPosted Jan 28, 2015, 8:33 PM EST
I created a dll file and automatically generate the .lib files.
They are:
Vulpes.dll
Vulpes.lib
They code are:
// Vulpes.c
Now I try to use dllimport command, but compile error has occurred.
Error tops:Ken.c (4): error C2059: syntax error: "string"
codes:
// Ken.c