Skip to content

something wrong when I study native hook with wiki #1468

Answered by ghost
silasol asked this question in Q&A
Discussion options

You must be logged in to vote

change the definition of JNI_Onload from
jint JNI_OnLoad(JavaVM *jvm, jobject x)
to
jint JNI_OnLoad(JavaVM *jvm, void* x)

When this wiki doesn't exist I tried to develope an example for native hook and here there is my test. I hooked also JNI_OnLoad so my implementation is different.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by yujincheng08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant