Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
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.

Go Back   Vista Forums > Misc Newsgroups > .NET General

Vista - Using depends.exe seems to kill my .net app - general problem?

Reply
 
Old 08-29-2008   #1 (permalink)
Adrian Pell


 
 

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 SpecsSystem Spec
Reply

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


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46