Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Not sure what dll is or does?

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0

Please advise what is dll. I keep seeing it but dont know what it does and stands for??
 
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.
 
Can we use dll from other program, like nero to make oour own cdr program? Couldnt we hi-jack another programs function by using other programs dll? A DLL file contains instructions to do certain task for a program right? I'm curoius.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top