Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: gh_origin on December 03, 2020, 03:00:38 pm

Title: What is the different between Dynamic Link Library and Shared Library?
Post by: gh_origin on December 03, 2020, 03:00:38 pm
What's the different between these two project types? On Windows, it seemed they both produce a .dll file. Correct me if I'm wrong, does Dynamic Link Library project type is for C++ and Shared Library project type is for C? They really confused me. I don't know which one I should choose.

For example, if I want to make a Zlib DLL, which project type I should choose? Thanks for help.
Title: Re: What is the different between Dynamic Link Library and Shared Library?
Post by: stahta01 on December 03, 2020, 05:39:59 pm
My guess is "Shared Library" is for non Windows OSes and DLL is for Windows OS.

Tim S.
Title: Re: What is the different between Dynamic Link Library and Shared Library?
Post by: gh_origin on December 04, 2020, 08:42:58 am
My guess is "Shared Library" is for non Windows OSes and DLL is for Windows OS.

Tim S.

I think you're right. Both of them produce a working DLL file. As I'm on Windows, I will choose the DLL project template. Thanks.