Code::Blocks Forums

User forums => Help => Topic started by: ntddk on January 16, 2013, 03:09:30 am

Title: How to use the "MHOOK"(AN API HOOKING LIBRARY) with CB?
Post by: ntddk on January 16, 2013, 03:09:30 am
MHOOK, AN API HOOKING LIBRARY  http://codefromthe70s.org/mhook23.aspx
How to use it with CB?
Title: Re: How to use the "MHOOK"(AN API HOOKING LIBRARY) with CB?
Post by: stahta01 on January 16, 2013, 03:50:11 am
From http://forums.codeblocks.org/index.php/topic,9996.0.html (http://forums.codeblocks.org/index.php/topic,9996.0.html)

Quote
1. This is NOT a general programming board. "How do I write a program that....", "Can anybody teach me how to", "I have this homework", "My program doesn't run and I don't have the slightest idea of why because I'm a C++ newcomer", "What is a compiler", "What does gcc do" is the kind of questions that is FORBIDDEN to ask.

Tim S.
Title: Re: How to use the "MHOOK"(AN API HOOKING LIBRARY) with CB?
Post by: Radek on January 16, 2013, 05:49:25 am
I haven't checked the library thoroughly but, IMO, like any other library: Project Options - Search Directories - set path to library headers, Project Options - Linker Options - add *.lib files of the library to the project. Save Project. Try to compile and run.