![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Using depends.exe seems to kill my .net app - general problem? 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.DLL" at address 0x79000000. Successfully hooked module. 00:00:00.063: Loaded "KERNEL32.DLL" at address 0x7C800000. Successfully hooked module. 00:00:00.063: DllMain(0x7C900000, DLL_PROCESS_ATTACH, 0x00000000) in "NTDLL.DLL" called. 00:00:00.063: DllMain(0x7C900000, DLL_PROCESS_ATTACH, 0x00000000) in "NTDLL.DLL" returned 1 (0x1). 00:00:00.063: DllMain(0x7C800000, DLL_PROCESS_ATTACH, 0x00000000) in "KERNEL32.DLL" called. 00:00:00.063: DllMain(0x7C800000, DLL_PROCESS_ATTACH, 0x00000000) in "KERNEL32.DLL" returned 1 (0x1). 00:00:00.141: Injected "DEPENDS.DLL" at address 0x08370000. 00:00:00.172: DllMain(0x79000000, DLL_PROCESS_ATTACH, 0x00000000) in "MSCOREE.DLL" called. 00:00:00.188: DllMain(0x08370000, DLL_PROCESS_ATTACH, 0x00000000) in "DEPENDS.DLL" called. 00:00:00.188: DllMain(0x08370000, DLL_PROCESS_ATTACH, 0x00000000) in "DEPENDS.DLL" returned 1 (0x1). 00:00:00.188: GetProcAddress(0x7C800000 [KERNEL32.DLL], "FlsAlloc") called from "MSCOREE.DLL" 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 |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Cannot ping my own IP- general network sharing problem w/ xp | Vista networking & sharing | |||
| How to kill UAC? | Vista security | |||
| Post on Vista General unless your issue is specifically a setup problem. | Vista installation & setup | |||
| Impossible to kill app | Vista General | |||
| Will i kill XP? | Vista installation & setup | |||