C language > Windows questions

Can you advise any WINAPI Hook lib?

(1/2) > >>

bitcoin:
Can you advise any Winapi hooking library?

I try Microsoft Detours, MinHook - but all this need C++ or C in Visual Studio..

How library can use with Pelles C?

John Z:
Hi,

Have you looked at this one?
https://github.com/TsudaKageyu/minhook/releases

More details on it at
https://www.codeproject.com/Articles/44326/MinHook-The-Minimalistic-x-x-API-Hooking-Libra


Regards,
John Z

bitcoin:
Hello,
I can't compile this code with Pelles , have error.
With VC++ it works good.

John Z:
Hi,

Are you saying you can't compile the library or DLL sources or just the usage examples?
The DLL and Library sources are in straight C and even compile under MinGW so they do not need C++.


--- Quote from: bitcoin on September 04, 2020, 09:31:35 PM ---I can't compile this code with Pelles , have error.

--- End quote ---

Doesn't really give any information to be able to help you....

John Z

bitcoin:
I compile DLL with VC++, because there are project (.sln) for Studio.
Then I try to build my DLL with .lib file , and have such error https://forum.pellesc.de/index.php?topic=9804.msg32897#msg32897

Can you give me a project (Pelles C), that works?

My code you can see in attach, it compile good, but not build!

Navigation

[0] Message Index

[#] Next page

Go to full version