473,789 Members | 2,833 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.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

Aug 29 '08 #1
0 1886

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

40
4334
by: Elijah Bailey | last post by:
I want to sort a set of records using STL's sort() function, but dont see an easy way to do it. I have a char *data; which has size mn bytes where m is size of the record and n is the number of records. Both these numbers are known
10
38019
by: Shang Wenbin | last post by:
Hi, When I want to close the current window using window.close() in IE6.0, there will be a confirm box that: The web page you are viewing is trying to close the window. Do you want to close this window? I have to click yes to close the window. How can I close the current window directly without this dialog box? Thank you.
12
2065
by: bj7lewis | last post by:
I am working on a project I want to add a few files as resource to access(copy them to FS and use) at runtime. So far in VS.NET IDE, I Add Files to the project and set its Build Action to Embedded Resource... Now where should look next... Any help...
5
2735
by: IkBenHet | last post by:
Hello, I use this script to upload image files to a folder on a IIS6 server: ******************* START UPLOAD.ASPX FILE ********************** <%@ Page Language="VB" Debug="true" %>
3
2549
by: Secrétariat | last post by:
Hello ! I use a PostgreSQL server 7.4 on Linux Mandrake 10 with IP 192.168.0.15, a database gestix is created. An PostegreSQL user "postgres" id defined on this server, I add in the .bash_profile of this user the line : PGDATA=$HOME/data; export PGDATA My PC have IP 192.168.0.10. in postgresql.conf I have : tcpip_socket = true
15
4477
by: Thomas W | last post by:
How can I use python to find images that looks quite similar? Thought I'd scale the images down to 32x32 and convert it to use a standard palette of 256 colors then compare the result pixel for pixel etc, but it seems as if this would take a very long time to do when processing lots of images. Any hint/clue on this subject would be appreciated. Best regards, Thomas
20
2226
by: kwikius | last post by:
As I understand it posts to comp.std.c++ shouldnt contain personal attacks. Since several of my posts on this to comp.std.c++ on this subject have now been simply ignored with out any reply by the comp.std.c++ moderators I'll repost it here for the record: And Fuck you too ... V
68
4656
by: Jim Langston | last post by:
I remember there was a thread a while back that was talking about using the return value of a function as a reference where I had thought the reference would become invalidated because it was a temporary but it was stated that it would not. This has come up in an irc channel but I can not find the original thread, nor can I get any code to work. Foo& Bar( int Val ) { return Foo( Val ); }
83
4236
by: liketofindoutwhy | last post by:
I am learning more and more Prototype and Script.aculo.us and got the Bungee book... and wonder if I should get some books on jQuery (jQuery in Action, and Learning jQuery) and start learning about it too? Once I saw a website comparing Prototype to Java and jQuery to Ruby... but now that I read more and more about Prototype, it is said that Prototype actually came from Ruby on Rails development and the creator of Prototype created it...
0
9666
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10410
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10200
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10139
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9984
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5418
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5551
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4093
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3701
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.