Microsoft KB Archive/256872

= How To Use Dependency Walker Version 2.1 to Create a Profile =

Article ID: 256872

Article Last Modified on 8/15/2005

-

APPLIES TO


 * Microsoft Visual Studio 6.0 Enterprise Edition

-



This article was previously published under Q256872



SUMMARY
Dependency Walker (Depends) is a useful tool for trouble-shooting application errors, file registration errors, memory access violations, and invalid page faults.



MORE INFORMATION
To use Dependency Walker (Depends) to investigate errors, use this procedure:
 * 1) Start Dependency Walker version 2.1.
 * 2) Click Open on the File menu to load the problem file into Dependency Walker.
 * 3) Next, on the View menu, click Start profiling. The Profile Module dialogue box appears.
 * 4) Type any switches and/or program arguments you want into the Program Argument window.
 * 5) Make sure that you have selected all other options that you want, and then click OK.

This profiles your application, listing modules loaded and files used. Dependency Walker injects Dwinject.dll just before the application error occurs. The resulting log will document exactly what the application was doing at the time of the error.

