Author Topic: How to use the "MHOOK"(AN API HOOKING LIBRARY) with CB?  (Read 5232 times)

ntddk

  • Guest
How to use the "MHOOK"(AN API HOOKING LIBRARY) with CB?
« on: January 16, 2013, 03:09:30 am »
MHOOK, AN API HOOKING LIBRARY  http://codefromthe70s.org/mhook23.aspx
How to use it with CB?

Online stahta01

  • Lives here!
  • ****
  • Posts: 7591
    • My Best Post
Re: How to use the "MHOOK"(AN API HOOKING LIBRARY) with CB?
« Reply #1 on: January 16, 2013, 03:50:11 am »
From 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.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Radek

  • Multiple posting newcomer
  • *
  • Posts: 104
Re: How to use the "MHOOK"(AN API HOOKING LIBRARY) with CB?
« Reply #2 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.