I am working on call one DLL api for C/C++ with JNA. The function API in DLL is short DKT_init(LPCSTR name). I made the corresponding java method as public short DKT_init(String name); But when I cal
I want to grab the all global key events on linux using JNA same as window hooks. following is the code:
I am using an applet deployed through JWS (Java Web Start). This applet has some native functionality included: JNA. User32, Kernel32 and Gdi32. When I launch the applet through JWS, I get the followi
I have a function in C which I\'m trying to call from Java with JNA: int myCfunc(void *s, int *ls); According to the JNA documentation the void* requires a com.sun.jna.Pointer be passed to the func
Good day, I have been using JNA for a while to interact with the Windows API and now I am stuck when creating a window. As far as I have done the following:
Wh开发者_运维技巧at is the Java type for *short using JNA I have in my dll short and *short, so how can I call
I have spent some time trying to create a child window of an existing window by using the following piece of code on JNA (Java Native Access) but I guess it is pretty much the same with every other pr
I\'m having problems using the DWM functionality of Windows Vista/7 on Java windows. I want to make the background of my frame use the Aero style. The Windows API to do so is provide by the function D
I\'m a Java developer, so please excuse my ignorance. I want to create a shortcut to an executable, e.g., in the user\'s autostart or send-to folder (I d开发者_开发技巧on\'t want an installer to do t
I\'m not experiences with Windows API 开发者_开发问答at all, so please excuse my ignorance. I want to delete files to the trash. How to do that using JNA and how to detect if this would not be possib