Search:

Type: Posts; User: Freaky Chris

Search: Search took 0.19 seconds.

  1. Re: System Wide Mouse/Keyboard Hook

    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...
  2. Re: System Wide Mouse/Keyboard Hook

    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
  3. Re: System Wide Mouse/Keyboard Hook

    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
  4. Re: System Wide Mouse/Keyboard Hook

    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...
  5. Re: System Wide Mouse/Keyboard Hook

    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...
  6. Re: System Wide Mouse/Keyboard Hook

    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...
  7. Re: System Wide Mouse/Keyboard Hook

    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>...
  8. Re: System Wide Mouse/Keyboard Hook

    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....
  9. Re: System Wide Mouse/Keyboard Hook

    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
  10. How to create a system wide mouse or keyboard hook?

    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...
Results 1 to 10 of 10