You can check to see if a library is purely static, or just an import
library, by using the LIB tool (using LIB /LIST) to see if there are any OBJ
files in there. If there are no OBJ files then it is a pure import library.
But that won't tell you if a library is mixed (it has some import parts and
some static parts). However, by the size of the OBJ files in the lib vs
the overall size of the lib you can tell it's mixed.
Ted.
"Ramendra Kotharkar" <Ra***************@discussions.microsoft.comwrot e in
message news:31**********************************@microsof t.com...
>I want to know how is static library different from ordinary dll (library)
?
I am not saying static library is not a dll. I want to know how do i link
to
a library statically such that when i run the application on any other
machine that doesn't have the library it should work without problem.
"Jochen Kalmbach [MVP]" wrote:
>Hi Ramendra!
How do i know if a particular dll is a static library or a dll library?
Any
tool to check?
A DLL is *always* a DLL...
Greetings
Jochen