Page 1 of 1
Difference between Static Linkable Library and DLL
Posted: Fri Sep 23, 2005 1:11 pm
by jb
Not sure if this belongs in this topic.
I know that you can use a DLL with the Library functions but can a Static Linkable Library be used with PureBasic?
I really am not quite sure of the difference between a Static and Dynamic library.
Posted: Fri Sep 23, 2005 4:07 pm
by Trond
Static = functions get put into your programs exe
Dynamic = function stays in the library
Posted: Fri Sep 23, 2005 4:26 pm
by okasvi
viewtopic.php?t=16485
is thread about linking .obj / .lib files into your PB code and use them from there...
Posted: Fri Sep 23, 2005 8:13 pm
by jb
Okay. I think I understand the difference.
Thanks Trond and okasvi!
Posted: Sun Sep 25, 2005 9:53 pm
by Seldon
Don't mix static LIB or OBJ (where true code is linked to your EXE) with automatic linking of DLLs at load time. When you link a LIB of a DLL, usually you don't include the code, but you make Windows open the DLL for you when your EXE is executed. So you don't need to open manually the DLL and find the functions.