Re: PDFNetWinRT doesn't work on ARM surface

115 views
Skip to first unread message

Tomas Hofmann

unread,
Jul 10, 2013, 5:50:00 PM7/10/13
to 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.

Reply all
Reply to author
Forward
0 new messages