Mail Archives: cygwin/1999/02/02/13:35:04
Hi,
I know that I can use 'objdump -p filename' to get a bunch of info about
what DLLs are used by a .exe or .dll, but I'd like to be able to
determine the version of DLLs being used.
So I;
% objdump -p bash.exe | egrep 'DLL Name|file format'
bash.exe: file format pei-i386
DLL Name: cygwin1.dll
DLL Name: kernel32.dll
DLL Name: user32.dll
Then;
% type cygwin1.dll kernel32.dll user32.dll
cygwin1.dll is
/OpenSource/cygnus/cygwin-b20/H-i586-cygwin32/bin/cygwin1.dll
kernel32.dll is /WINNT/system32/kernel32.dll
user32.dll is /WINNT/system32/user32.dll
And finally, I try
% objdump -p /WINNT/system32/user32.dll
[snip]
MajorOSystemVersion 4
MinorOSystemVersion 0
MajorImageVersion 4
MinorImageVersion 0
MajorSubsystemVersion 4
MinorSubsystemVersion 0
[snip]
I thought the .dll version the combination of the MajorSubsystemVersion
and MinorSubsystemVersion, but this doesn't match with what I see for
other .dlls using Explorer.
Should I be using something besides objdump for this?
Thanks,
Dale Quigg
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -