取消Msprintsdk.x64中64位dll的加载
This commit is contained in:
parent
cfb6690df5
commit
9d3c46b045
|
@ -29,7 +29,8 @@ public class PrinterUtil {
|
||||||
}*/
|
}*/
|
||||||
|
|
||||||
try {
|
try {
|
||||||
return Native.load("Msprintsdk.x64", MsPrintSdk.class);
|
// return Native.load("Msprintsdk.x64", MsPrintSdk.class);
|
||||||
|
return null;
|
||||||
} catch (UnsatisfiedLinkError e) {
|
} catch (UnsatisfiedLinkError e) {
|
||||||
log.info("[printer][PrinterUtil.getPrintSDK] SDK注册失败 {}", e.getMessage());
|
log.info("[printer][PrinterUtil.getPrintSDK] SDK注册失败 {}", e.getMessage());
|
||||||
throw new PrinterRegistrationException("Failed to load MsPrintSdk library: ", e);
|
throw new PrinterRegistrationException("Failed to load MsPrintSdk library: ", e);
|
||||||
|
|
Loading…
Reference in New Issue