jna
Why dll doesn't run if VS2010 doesn't exist?
l\'ve written a dll on VS2010 and I will call it from JAVA by the help of JNA.But it doesn\'t run if VS 2010 doesn\'t exist on computer.It gives errors[详细]
2023-03-20 21:51 分类:问答How can I call the GLib threads g_thread_init using JNA?
I\'m trying to invoke a function in a native C library using JNA which uses GLib and GLib Threads.When I attempt to invoke the function, the JVM crashes and the following error is printed:[详细]
2023-03-15 02:41 分类:问答fannj library doesn't work
I\'m trying to run project which uses fannj library, but I\'m getting error: Exception in thread \"main\" java.lang.UnsatisfiedLinkError: Error looking up function \'fann_create_standard_array\':[详细]
2023-03-14 04:10 分类:问答How to cast a pointer to a c struct to jna structure
I would like some help in casting a pointer to a C struct to a jna strucuture. I am using jna to receive a callback function from a dll, the function has a parameter that is a pointer to a C struct, w[详细]
2023-03-13 09:38 分类:问答how to use log4j logger declared in Java side from a dll
We are using a dll with JNA in our java project. We would like the C code开发者_StackOverflow社区 to also log to our log4j log files, is there an easy way of doing this?Not easily, really. I can think[详细]
2023-03-13 06:48 分类:问答JNA Pointer retrieving value
I\'m using JNA to access a dll and everything work fine ... while i\'m in debug !!! The problem is when i run my java code in non debug mode.[详细]
2023-03-12 22:08 分类:问答The specified procedure could not be found (MapVirtualKeyEx) JNA (Java)
I am using JNA and need to use the MapVirtualKeyEx function. Here is the signature: UINT WINAPI MapVirtualKeyEx([详细]
2023-03-10 02:41 分类:问答Change desktop background of MAC sytem using Java native access
I have got a code snippet to change system desktop using JNA, it is worked fine for me. What change i need to make this code for working on Mac Os.[详细]
2023-03-09 13:59 分类:问答Generating Java interface from a C++ header file
We have some proprietary libraries we need to interface with. These libraries are Windows DLLs, or Linux .so files. We got the headers to define the interfaces. Since I have never done anything with n[详细]
2023-03-09 07:01 分类:问答"global" KeyListener using JNA
I have in plan making of program in Java running under Windows that can map diffenrent \"macros\" on different keys runnig at background. Problem is - how to make Java listen to keys pressed when the[详细]
2023-03-09 00:03 分类:问答
加载中,请稍侯......