jna
JNA mapping LPCSTR on windows platform
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[详细]
2023-01-26 01:27 分类:问答using Xlib XnextEvent on linux using JNA
I want to grab the all global key events on linux using JNA same as window hooks. following is the code:[详细]
2023-01-25 18:48 分类:问答A proper way to use native libraries in JNA with Applet deployed by JWS (java web start)
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[详细]
2023-01-24 07:07 分类:问答Passing a Java class into a void* parameter with JNA
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[详细]
2023-01-23 19:23 分类:问答Create a native Windows window in JNA and some GetWindowLong with GWL_WNDPROC
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:[详细]
2023-01-22 13:31 分类:问答What is the Java type for *short using JNA
Wh开发者_运维技巧at is the Java type for *short using JNA I have in my dll short and *short, so how can I call[详细]
2023-01-22 07:04 分类:问答How to create a Microsoft Windows Child window using JNA
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[详细]
2023-01-22 00:55 分类:问答Disable Background drawing in JFrame in order to properly display Aero (DWM) effects
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[详细]
2023-01-20 20:23 分类:问答Win32API: how to create a shortcut (.lnk file)
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[详细]
2023-01-20 17:51 分类:问答Java on Windows: how to delete a file to trash (using JNA)
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[详细]
2023-01-16 15:35 分类:问答
加载中,请稍侯......