O
O
Oleg ak-o2015-05-06 20:47:45
Java
Oleg ak-o, 2015-05-06 20:47:45

How to use jna?

Good evening!
I am completely new to Java, I have experience with other languages, and as the first program I chose to write a clicker for an online game.
We can say that I succeeded, except for the fact that the program works everywhere except for the online game itself :)
Initially, I used java.awt.robot, but apparently the protection of the game somehow stops this business.
I read that it is possible to use native OS methods using JNA\Load dlls.
Can anyone suggest how to use this? Include in your project.
Maybe someone saw examples of "keystroke emulation with jna"?
I also found keyboardhook-win-x86.dll, but did not find examples of how I can use it.
I don’t use IDE, I compile through .bat, and in general there is very little knowledge of Java, so if there is something to advise, I will be glad to have a chewed answer. I don't want to give up :)
Thank you

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question