Hello
I'm trying to debug a problem that occurs on a random number of my
customer's machines - namely, my WPF app seems to vanish without trace, and
without doing anything useful (like an error message).
This is a .NET 3.0 app on Win32.
As part of my testing, I started using Depends (depends.exe aka Dependency
Walker) to figure out what was going on ... and I found that whenever I ran
my app hooked by Depends, it dies almost immediately. That's very strange.
That set me wondering if, on my customer's machines, there is something (not
necessarily Depends) which is hooking applications and causing my WPF app to
die.
I realize that I won't get anything necessarily useful out of Depends on a
..NET app, but this was an interesting observation. Any idea why hooking a
..NET app would reliably cause it to die??
FWIW, here's the captured text from Depends ...
00:00:00.000: Started "XFREEMAIN. EXE" (process 0x112C) at address
0x00400000. Successfully hooked module.
00:00:00.016: Loaded "NTDLL.DLL" at address 0x7C900000. Successfully hooked
module.
00:00:00.016: Loaded "MSCOREE.DL L" at address 0x79000000. Successfully
hooked module.
00:00:00.063: Loaded "KERNEL32.D LL" at address 0x7C800000. Successfully
hooked module.
00:00:00.063: DllMain(0x7C900 000, DLL_PROCESS_ATT ACH, 0x00000000) in
"NTDLL.DLL" called.
00:00:00.063: DllMain(0x7C900 000, DLL_PROCESS_ATT ACH, 0x00000000) in
"NTDLL.DLL" returned 1 (0x1).
00:00:00.063: DllMain(0x7C800 000, DLL_PROCESS_ATT ACH, 0x00000000) in
"KERNEL32.D LL" called.
00:00:00.063: DllMain(0x7C800 000, DLL_PROCESS_ATT ACH, 0x00000000) in
"KERNEL32.D LL" returned 1 (0x1).
00:00:00.141: Injected "DEPENDS.DL L" at address 0x08370000.
00:00:00.172: DllMain(0x79000 000, DLL_PROCESS_ATT ACH, 0x00000000) in
"MSCOREE.DL L" called.
00:00:00.188: DllMain(0x08370 000, DLL_PROCESS_ATT ACH, 0x00000000) in
"DEPENDS.DL L" called.
00:00:00.188: DllMain(0x08370 000, DLL_PROCESS_ATT ACH, 0x00000000) in
"DEPENDS.DL L" returned 1 (0x1).
00:00:00.188: GetProcAddress( 0x7C800000 [KERNEL32.DLL], "FlsAlloc") called
from "MSCOREE.DL L" at address 0x79006079 and returned 0xFFBADD11.
00:00:00.203: Exited "XFREEMAIN. EXE" (process 0x112C) with code -1073740791
(0xC0000409).
--
Adrian Pell
Chief Imagineer
Pell Creations