Hi Is there a way (or a tool) to monitor which dll are loaded by an application, which functions are called and with which parameter values? The reason is that I have to understand how to use a dll. I do not have any documentation, just an application (without source code) that uses this dll. thanks in advance
This topic was recently discussed on kernel ng, take a look at http://groups.google.com/group/microsoft.public.win32.programmer.kernel/browse_thread/thread/529ee8dba4741c15/293ca34f01e4da63#293ca34f01e4da63 -- Vladimir http://spaces.msn.com/vladimir-scherbina/
Thanks vladimir this aswers to my first problem. Does anyone else how can i address the next (biggest) problem? how detect which functions are called inside the dll? maybe i can using DepencyWalker?
For such purposes debuggers (and disassemblers) should be used. If you don't have source code of the binary then WinDbg, Softice or OllyDbg will help you. You can debug programm step-by-step making breakpoints on functions ("bpx LoadLibrary" command will set breakpoint to a call of LoadLibrary function) -- Vladimir http://spaces.msn.com/vladimir-scherbina/