Hi,
as yuou know the acronim stays for dynamic link library.
Seen from the user side, it is a piece of program that
must be in a place found in the PATH.
From the developer side, you put in this library, code
or data that can be used from more programs (also together).
This library, differs from the static ( normal library used
in many languages) becouse the link is done at run time, not
link time: the code is not inside .exe but stays in the dll.
However, in the .exe there are pointers to the code in the dll.
To make a dll, use wizard and create a specific project.
Write your code (see templates in samples of microsoft) and
build the project mylib: you write mylib.cpp + mylib.h code, studio builds two files: mylib.exp and mylib.dll.
Build a program (see template) and include also the
header file ( mylib.h ) of the library.
In the link list, add mylib.exp .
When you run program, put mylib.dll in a directory that
Windows can find.
Bye.