How to use the madCodeHook with C#

c++ / delphi package - dll injection and api hooking
Post Reply
taithien
Posts: 1
Joined: Fri Nov 26, 2004 5:11 am

How to use the madCodeHook with C#

Post by taithien »

Dear madshi,

I am student, I want to make a free dictionary project with C#. Can you tell me how to use the madCodeHook with C#.

Thank you very much! :D
madshi
Site Admin
Posts: 10764
Joined: Sun Mar 21, 2004 5:25 pm

Post by madshi »

I've never worked with C# yet. Do you know how to convert C++ headers to C#? Then just take the "madCHook - dynamic.h" and convert it. You will probably need to use LoadLibrary("madCHook.dll") and then GetProcAddress to get access to the hook APIs.

Are you talking about C# DotNet? Or C# win32? Your application can most probably use DotNet. But the hook dll can't be written in DotNet. You need to use win32 for that.
Post Reply