Solved

interprocess hooking using dll

Posted on 2004-04-05
2
175 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Flash (http://en.wikipedia.org/wiki/Adobe_Flash) has evolved over the years to where it has become a masterful tool for displaying content screen.  It has excellent layout placement, UI precision as well as rendering capabilities. This, along with t…
It seems a simple enough task, yet I see repeated questions asking how to do it: how to pass data between two forms. In this article, I will show you the different mechanisms available for you to do just that. This article is directed towards the .N…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

617 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