A dummy question: where is madCHook.h?
A dummy question: where is madCHook.h?
I've installed madCollection but I can't compile any demos (in BCB6) I get the "Unable to open include file 'madCHook.h' " error. Where is the madCHook.h header file? I've tried to use 'madCHook - static.h' but it's not working too (a lot of errors)
Please, help a dummy!
Please, help a dummy!
You need to decide whether you want to use the dynamic or the static madCHook lib. The static lib is only contained in the commercial edition. So if you don't have a commercial license, you have to use the dynamic lib. In that case please rename "madCHook - dynamic.h" to "madCHook.h", then you have your "madCHook.h" file.
Thanks for your reply.
Anyway I found it out myself (you also have to copy the madCHook.lib)
But now I have another problem:
I tried to modify the HookNextFindFile dll so the name of the dll is not "hardcoded" anymore but it gets its own filename whenever the function is called.
I tried it with the function GetModuleFileName() and then split the filename from the path. But I don't know how to get this value in the CHideFileA and CHideFileW (ansi and wide?) variables.
Thanks again
ps: Your collection of code/functions etc is amazing and it's really cool that you share so much information with us.
Anyway I found it out myself (you also have to copy the madCHook.lib)
But now I have another problem:
I tried to modify the HookNextFindFile dll so the name of the dll is not "hardcoded" anymore but it gets its own filename whenever the function is called.
I tried it with the function GetModuleFileName() and then split the filename from the path. But I don't know how to get this value in the CHideFileA and CHideFileW (ansi and wide?) variables.
Thanks again
ps: Your collection of code/functions etc is amazing and it's really cool that you share so much information with us.
I want to rename the dll for example to "myDLL.dll" and then hook it systemwide with the loader in the Demo directory and it should hide itself.Well, who shall decide which file to hide? The application?
Just like the original demo but with dynamic filename.
It's not really a software. I am just "learing by doing". It will just be another demo and not used for anything.P.S: Hopefully your software will be legal?
I would never dare to use your code for any illegal purpose because I respect your hard work!
Yeah, then you need to use a file mapping.icy wrote:I want to rename the dll for example to "myDLL.dll" and then hook it systemwide with the loader in the Demo directory and it should hide itself.
Just like the original demo but with dynamic filename.
Thank you!I would never dare to use your code for any illegal purpose because I respect your hard work!