I would like to add registration to our unit tests, which write the DLLs that they use and where they are loaded from.
I can get the information that I need from Sysinternals ListDLL, but I will need to start it while the test process is running, and I will finish the race conditions: for example, ListDLL can start too early and skip the DLL loaded halfway through the test run; or ListDLL may start too late after the test process completes.
Similarly, I can get the necessary information from the output windows and Visual Studio debugging modules, but I would like to automate this on our build server.
Is there any command line tool that can run an arbitrary EXE, track the DLLs it uses, and write information to a file?
source share