User forums > Using Code::Blocks

What is the different between Dynamic Link Library and Shared Library?

(1/1)

gh_origin:
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.

stahta01:
My guess is "Shared Library" is for non Windows OSes and DLL is for Windows OS.

Tim S.

gh_origin:

--- Quote from: 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.

--- End quote ---

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.

Navigation

[0] Message Index

Go to full version