Solved

Monitor API Calls in VB.NET

Posted on 2004-09-01
4
205 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

740 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