News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

list of object modules in import library

Started by slonumber, February 14, 2008, 03:31:01 PM

Previous topic - Next topic

slonumber

I am trying to obtain the list of object modules in kernel32.lib.
If I use MS Incremental Linker 5.12.8078:

Masm32\bin\LINK -LIB -LIST Masm32\lib\kernel32.lib >temp.lst

as a result, in "temp.lst" I see 200+  "kernel32.dll" lines.

If I use the Microsoft Library Manager (5.12.8078):
masm32\bin\lib /LIST c:\masm32\lib\kernel32.lib, I either get the same result as above or
I get an error message:
LINK : fatal error LNK1181: cannot open input file "C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Lib\"
because there is no kernel32.lib file at this location. But why is librarian even looking in that location,
if I specifically tell where to look?

I am using windows XP with SP2.

So what is the correct way to get the list of object modules in import library?
Thanks a lot in advance!

ToutEnMasm

Hello,
Not the good tool to make that.
Dumpbin (VC++ express edition) give you the decorated name of the function.
protolib (dowloadable in this forum) is a tool i have made to have the masm prototypes.He need a .cmd file with a list of .lib or a name of lib as parameter.
There is also l2inc in the \masm32\tools\l2inc directory.

slonumber

Thanks a lot, I'll try all of these tools. But still, just for learning purposes, why do not all the "canonical" tools work?

u

Also, there's the GNU BinUtils.  The easiest way to install them is with MinGW (google MinGW). Just add the c:\MinGW\bin to your PATH, and use
objdump -f myFile.lib
there are many options/features, some of which might solve future problems with objects/libraries.
Please use a smaller graphic in your signature.

slonumber