Running a JNA example with POSIX message queues
问题 I need to communicate a Java application and a C process via POSIX message queue, and I would like to do it using JNA. After some research, reading and your help, I started with a simple Java application which tries to create a message queue. /** Simple example of JNA interface mapping and usage. */ public class HelloJNAWorld { // This is the standard, stable way of mapping, which supports extensive // customization and mapping of Java to native types. public interface IPCLibrary extends