我使用JNA调用从C DLL中的函数: extern _declspec(dllexport)
int ReadCP(IN OUT unsigned char* Id, IN OUT unsigned int* Size);
在Java中,我使用的接口,用于JNA使用此方法: int ReadCP(byte[] id, IntByReference size);
我成功地加载DLL和调用
我米使用下行家Tess4J,我已经使用了POM依赖一切都在仓库的.m2下载好,我也从网上下载源锻造的tess4j JNA包装。但是什么都这样,我还在原地收到此异常: Looking in classpath from [email protected] for /com/sun/jna/win32-x86-64/jnidispatch.dll
Found library resource at