Solved

interprocess hooking using dll

Posted on 2004-04-05
2
171 Views
Last Modified: 2008-03-06

Hello, I would like to tell when a different application/process is about to display a messagebox using hooking. Some research has led me to believe that it is not possible to write this entirely in vb.net, and that i need to write a dll in something like c++.net. The reason to use c++ has to do with this type of dll being able to attach itself into the memory space of the thread launching the message box. I know nothing about c++, and was hoping someone would have a working sample of this that they would be willing to share. thanks.
0
Comment
Question by:vbstroehle
2 Comments
 
LVL 14

Accepted Solution

by:
AvonWyss earned 500 total points
Comment Utility
A very well kept secret is that you actually CAN export methods from any managed DLL. This process is called reverse P/Invoke. See the following link for more information:
http://blong.com/Conferences/BorConUK2002/Interop1/Win32AndDotNetInterop.htm#ExportingMethods
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

A basic question.. “What is the Garbage Collector?” The usual answer given back: “Garbage collector is a background thread run by the CLR for freeing up the memory space used by the objects which are no longer used by the program.” I wondered …
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now