After spending a lot of time learning Python to implement a series of DLL-based functions in Java through Jython, I forgot to read the Jython documentation, and the lack of ctypes support made most of my code useless.
I did not want to use JNI
I am trying to access some functions from pcshll32.dll from private messages using my HLLAPI.
I was able to work with Python with virtually no problems, it was very easy to find a lot of documentation and recipes on the Internet.
Now I accidentally discovered JNA, and I have a lot of problems with it. I can hardly find information about this, especially when I try to access non-standard DLLs.
From what I understand, I need to write pcshll32.class, which will be the interface - like the user class User32.class, which seems to be the interface (or maybe I should call it a proxy ...) for User32. dll
Well, this is what I think it happens after reading this .
So ... How to import an external DLL? Is it possible? Do I need to write an interface / proxy? Are there any samples there?
source share