We actually use one such mixed library.
Jazz <Jazz@discussions.microsoft.com> wrote:
I have a .lib file and I want to know whether it is an import library for
a
dll or itself is a static library. Which tool can I use to find this out?
In general, you can check the library size. If the .lib is small (40k),
then it is likely to be an import library.
A better way, perhaps, is to do
link /dump /linkermember xxxx.lib
If you see a bunch of __imp__XxxxxXxxx names or an _IMPORT_DESCRIPTOR_,
then it's an import library.
It is POSSIBLE to mix import record and static objects in a single
library,
but doubt any of us have ever encountered one in the wild.
--
Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.