[Wine] re: Tracking DLLs

Dan Kegel dank at kegel.com
Fri Jan 13 10:01:10 CST 2006


>Does anyone know what command line params I can use to track what DLLs a
>a program is accessing...?

WINEDEBUG=+module wine yourprogram.exe

This outputs lots of messages like

trace:module:load_dll Loaded module L"iphlpapi.dll" (builtin) at 0x7b440000

I usually redirect the output to a log file and then use grep, e.g.

WINEDEBUG=+module wine yourprogram.exe > log 2>&1

grep Loaded log

Hope that helps!
- Dan

--
Wine for Windows ISVs: http://kegel.com/wine/isv



More information about the wine-users mailing list