壁挂打印机(缺文档接口说明)、身份证读取(缺64位dll动态库)

This commit is contained in:
2025-01-14 17:46:26 +08:00
parent 7d971f4d13
commit 68e2fbfc8c
36 changed files with 7058 additions and 117 deletions

View File

@@ -16,8 +16,10 @@ public class CardReaderUtil {
public static CardReaderSdk getCardReaderSDK() throws CardReaderRegistrationException {
try {
return Native.load("UnPack", CardReaderSdk.class);
//return Native.load("SSSE32", CardReaderSdk.class);
//return Native.load("autoreplyprint", CardReaderSdk.class);
} catch (UnsatisfiedLinkError e) {
log.info("[CardReader][CardReaderUtil.getCardReaderSDK] SDK注册失败 {}", e.getMessage());
log.info("[CardReader][AutoReplyPrint2.getCardReaderSDK] SDK注册失败 {}", e.getMessage());
throw new CardReaderRegistrationException("Failed to load CardReaderSdk library: ", e);
}
}