[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Demexp-dev] Is there a way to know the DLL needed by a program on W
From: |
GISQUET Christophe |
Subject: |
Re: [Demexp-dev] Is there a way to know the DLL needed by a program on Win32? |
Date: |
Mon, 30 Oct 2006 21:06:03 +0100 |
User-agent: |
Thunderbird 1.5.0.7 (Windows/20060909) |
Good evening,
David MENTRE a écrit :
Hello Christophe,
Do you know if there is a way to know the DLL (and their location)
requested by a program on win32 platform? Something like ldd on Unix.
I think you told me once but I already forgot. :-)
ldd does exist under windows, albeit probably a reimplementation (based on the
PE binary format used under windows). Now, I don't remember where it comes
from or which package provides it, but I have it available under both cygwin
and mingw.
Consequently, I don't know what is its license, so I can't post it to this
mailing list. I'm looking into the origin of this program, though.
If this license happens to be not too coercive, you could simply send the
binary, as dependencies are very simple:
ldd ldd.exe
ntdll.dll => D:\WINNT\system32\ntdll.dll (0x78460000)
KERNEL32.dll => D:\WINNT\system32\KERNEL32.dll (0x77e70000)
msvcrt.dll => D:\WINNT\system32\msvcrt.dll (0x78000000)
USER32.dll => D:\WINNT\system32\USER32.dll (0x77e00000)
GDI32.dll => D:\WINNT\system32\GDI32.dll (0x77f40000)
All of them are system dlls, except for msvcrt which is the Microsoft Visual C
runtime and is probably shipped by default, but otherwise available in
"redistribuable" runtime setups.
Best regards,
--
Christophe GISQUET