ummm....
To
USE only part of a dll, Craig is right...
However... to
PACKAGE a program... the whole DLL is required in the package no matter if you use only 1 function or all of the functions and subs in the DLL... the whole dll is required for Package and Deploy process...
this goes back to the theory of the design of the DLL's ...
They were intended to break down a huge program into smaller parts that can be used by multiple programs, dynamically... which means they do not have to be linked during compilation to create the EXE...
In doing this you want to DLL's by sometype of categories...
where the functions are all related in some way...
You
don't want to dump your whole program into 1 DLL...
You want to split it up into several DLL's with related functions...
this way, you don't have to worry about the problem of packaging a 10meg DLL and only using 100k of it in your program...
like USER32 and GDI32 ... those 2 are "usually" used together... but you CAN use one without the other... so you wouldn't have to package 1 big DLL when you are using only half of the stuff in it...
Have Fun, Be Young... Code BASIC
-Josh Stribling