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
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
The text was updated successfully, but these errors were encountered:
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:
The text was updated successfully, but these errors were encountered: