It’s not uncommon to see application crashes and we all know how frustrating it becomes when an app crashes. One of the ways to approach this problem is to take a dump of the app and analyze it, another way is to download “Dependency Walker”. Depends is a useful tool for trouble-shooting app errors, file registration errors, memory access violations, and invalid page faults.
“To use it to investigate errors, use this procedure: Start Dependency Walker version 2.1, Click Open on File menu to load problem file into Dependency Walker, Next, on View menu, click Start profiling. Profile Module dialogue box appears, Type any switches and/or program arguments you want into the Program Argument window, Make sure that you’ve selected all other options that you want, and then click OK.
This profiles your app, listing modules loaded and files used. Dependency Walker injects Dwinject.dll just before the app error occurs. The resulting log will document exactly what the app was doing at the time of the error,” explains Microsoft.