Solved

Monitor API Calls in VB.NET

Posted on 2004-09-01
4
195 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
4 Comments
 
LVL 37

Accepted Solution

by:
gregoryyoung earned 100 total points
Comment Utility
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
Comment Utility
can you do this with C# without using unmanaged code ?
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Article by: Ivo
C# And Nullable Types Since 2.0 C# has Nullable(T) Generic Structure. The idea behind is to allow value type objects to have null values just like reference types have. This concerns scenarios where not all data sources have values (like a databa…
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…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

762 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

12 Experts available now in Live!

Get 1:1 Help Now