ok ok. Now this one is not so much a programming problem, I just want some help with a bit of logic. For the keyboardhook, I've decided what information to proccess, what key is pressed, is the alt...
Type: Posts; User: Freaky Chris
ok ok. Now this one is not so much a programming problem, I just want some help with a bit of logic. For the keyboardhook, I've decided what information to proccess, what key is pressed, is the alt...
I finally found out what the problem was :)
I was forgetting to compile it as if it were C code rather than C++, cause C doesn't name mangle like C++ does lol!
Chris
Just for the record it's not complex, its just a god damn stupid with UnsatisfiedLinker error, so its hard to even test things, I don't even know why it is doing that to me -_-
Chris
Just wanted to give you an update, I haven't had much chance to get to work on this due to college exams. But I am now in the middle of my exams and will be finished at the end of next week. So...
I've now migrated to notepad and command prompt, and at last progress! I've had to ditch all the high level IDEs lol, ah well it's all good :).
Anyways, I just wanted to tell you that I have now...
I haven't found a method of executing custom commands from with the Eclipse IDE or NetBeans, So i was using the commandline. That link you gave appears to point to thin air hehe, so it's not overly...
Hey JavaPF. I've tried to get started, I have developed the basic hook in C using Win32, however I need to get a quick understanding of JNI. When I use
javah -jni -classpath <class location>...
Well I have looked to no avail. When I get home I might have a look into writing a C Win32 Hook and linking with JNI. Once I've done that I'll make it all readily avaliable to everyone who wants it....
A mouse hook for example tracks all the mouse events. System wide because I don't want to limit it to say my application, such as a MouseListener would do...if that makes sense?
Chris
Does anyone know of an easy way of creating a system wide mouse or keyboard hook other than me writing it in C/C++ then implementing JNI?
Cause that seems like a lot of work just for a global hook...