You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 28, 2025. It is now read-only.
Hi there, I was giving your API hook library a try and could not get linking to work (my project is using C++). After quite a bit of digging I found that the problem was C++ name mangling of the function declarations in funchook.h.
You can fix this by adding the following to explicitly use C-linkage conventions:
#ifdef __cplusplus
extern "C" {
#endif
... Your function declarations here ...
#ifdef __cplusplus
} // extern "C"
#endif