I’ve got a dll written in Pascal. I’ve determined that I need to run CoInitialize in the Java code, but I just can’t figure out how. I found another Stack Overflow thread which should have helped here: https://stackoverflow.com/questions/15763993 but I couldn’t understand how it actually worked. My current code that I have now is here: Answer Example of calling CoInitializeEx
Tag: jna
GetWindowTextA, GetWindowText returns empty value on Edit Control
I’m trying to list and get the content of Edit Controls from an external Window in C++ / Java, unfortunately with no success. When I call GetWindowText or GetWindowTextA it returns an empty value on Edit Controls, I know there are some differences between GetWindowText / GetWindowTextW and GetWindowTextA but I don’t know What I’m doing wrong since it works
Gibberish at the end of a String byte array passed to native code
I am writing an applet to wrap a proprietary .dll that can be used in the browser. To achieve this, I am using JNA. The .dll connects to a check scanner peripheral, and can pull images from the devices memory. I have to make a Windows API call in Java, using JNA, to get the image: When the code saves