"Unknown Error!"调用pdftron.PDF时。PDF ViewCtrl.SetDoc on Surface 3 on Windows 10



我们有一个特定的设备加载Windows通用应用程序的PDFTron控件的问题。这个控件在我的台式机(Intel Xeons)上的Windows 10和Surface 1 (ARM运行Windows 8.1)上运行良好。然而,在我们运行Windows 10的新Surface 3 (Intel Atom)上,SetDoc显示"未知错误!":

Failed to set doc: System.Runtime.InteropServices.COMException (0x80004005): Unspecified error
Unknown Error!
   at pdftron.PDF.PDFViewCtrl.SetDoc(PDFDoc doc)
   at PDFViewCtrlDemoUniversal.ViewModels.PdfPageViewModel.SetDoc(PDFDoc doc)
The thread 0xdec has exited with code 0 (0x0).
The thread 0x1af0 has exited with code 0 (0x0).
Exeption at line 0 in file 
Message: Unspecified error

我尝试了我们的应用程序和PDFTron示例应用程序(pdfviewctrldemoununiversal . windows)都失败了相同的错误。在机器上的应用程序中,其他一切都可以正常工作,只是不能通过PDFTron加载pdf。示例应用程序在我的桌面Windows 10安装上也运行良好,类似于Windows 8.1上的Surface 1 ARM设备。

我们正在运行PDFTron.PDFNetUniversal.Windows version 6.5.1.31959.

Windows 10引入了在Windows 8.1的Windows. graphics . display . displayproperties . resolutionscale枚举器中无法识别的像素密度。

这就是为什么某些设备会失败,而其他设备不会。

我们已经在最新版本(6.5.1.34018)中解决了这个问题。

最新更新