Solved

Monitor API Calls in VB.NET

Posted on 2004-09-01
4
217 Views
Last Modified: 2008-02-20

Hello.
Do you know how to monitor api calls to specific dll functions ?
I know that in VC++ you have to inject your own function between the dll and the system. You have to create a system wide api hook that will track the dll calls and then it will simply call the called dll function.

Do you know any example that is doing this ?

Thank you !
Alexander

0
Comment
Question by:alexr123
[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
4 Comments
 
LVL 37

Accepted Solution

by:
gregoryyoung earned 100 total points
ID: 11951789
no because you can't do this in pure vb.net code, you would need to also use unmanaged C++ code to do this (much like doing a global hook http://www.codeproject.com/csharp/GlobalSystemHook.asp could be used as a roadmap for such code) Basically your unmanaged C++ would call into yor vb.net managed code.
0
 
LVL 1

Author Comment

by:alexr123
ID: 11960346
can you do this with C# without using unmanaged code ?
0

Featured Post

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

627 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