JNA Exception in thread “main” java.lang.Error: Invalid memory access(Unknown Source)
问题 I'm using JNA 4.0.0 to access some DLL function from Java, this DLL Native Function is declared as the following: int ApplicationInit(HANDLE hEMV, TLV *tlv_Appl, TLV *tlv_AIP); Types of the input parameters are described below /* Opaque structure */ typedef void *HANDLE; typedef struct { unsigned char *_lenptr; /* pointer to 'len' field (Private member) */ unsigned int _len; /* 'outer' length, specified by user (Private member) */ unsigned short _offset; unsigned short len; /* number of bytes