1) Started BCB 10.1 Berlin.2) Created a new project.3) In a button click event I added a call to "GetCallingModule()" (which is a function exported by madCodeHook).4) I added "#include "madCodeHook.h"" directly under the "#include "Unit1.h"" line.5) I saved and compiled the project.

Worked fine for me.

No need to manually add any lib files. Probably the problem you've seen came from trying to add that lib file.