Re: PDFNetWinRT doesn't work on ARM surface

已查看 115 次
跳至第一个未读帖子

Tomas Hofmann

未读,
2013年7月10日 17:50:002013/7/10
收件人 pdfne...@googlegroups.com
Another issue that has come up is that sometimes, there might be a problem with the ARM device itself. It might be necessary to install the "Microsoft Visual C++ Runtime Package" not just on the developing PC, but on the target ARM device. 
Again note that the installer has to be run on the ARM device itself.

On Thursday, March 7, 2013 10:34:19 AM UTC-8, Tomas Hofmann wrote:
There's a second reason an ARM build might not work. So, to clarify, the error will happen the first time our library is referenced in the code, which is often pdftron.PDFNet.Initialize.

If the error message is: System.IO.FileNotFoundException
Then it likely means that the "Microsoft Visual C++ Runtime Package" is missing and needs to be installed. It can be found by right clicking on the project's refrences, selecting add reference to bring up the menu, and then it should be under Windows -> Extensions.

If the error message is: System.Runtime.InteropServices.COMException
Then try both a release and a debug build. If only the release build works, then it's not an issue with our library, but rather with some debug-incompatibilities between the surface and PC. 

On Monday, March 4, 2013 6:42:08 PM UTC-8, Tomas Hofmann wrote:
Q: I cannot deploy my WinRT app on an ARM surface. The app fails right at the outset saying it does not find the method pdftron.PDF.initialize().

A: This is likely because when running native code on ARM, an additional library is needed. Right click on references and pick add a reference. Under the Windows Header, find Extensions and then "Microsoft Visual C++ Runtime Package".
If this is not on your computer, you might have to download it.

回复全部
回复作者
转发
0 个新帖子