Solved

interprocess hooking using dll

Posted on 2004-04-05
2
173 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
ID: 10768170
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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

828 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