Announcement

Collapse
No announcement yet.

Issue with FoxIT SDK for WINRT

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • crash Issue with FoxIT SDK for WINRT

    Hi,

    I am currently evaluating the FoxIT embedded SDK for WinRT. I had successfully integrated the SDK into my metro app successfully and it was working fine until today when I tried to run/debug the same application in Windows RTM build. My application is compiling and running fine but when the below code executes, I get an exception


    CODE:
    InstanceHandle hInstance;
    hInstance.pointer = 0;
    Base.InitLibrary(hInstance); // THIS IS THE LINE WHERE I GET THE EXCEPTION



    Exception Details:
    Inner Exception: null
    Message: The specified procedure could not be found. (Exception from HRESULT: 0x8007007F)
    Stack Trace:
    at System.StubHelpers.StubHelpers.GetWinRTFactoryObje ct(IntPtr pCPCMD)
    at Foxit.General.PDF.Base.InitLibrary(InstanceHandle hInstance)


    The same code works fine in Windows 8 RC and Visual Studio Express 2012 RC, but throws this exception in Windows 8 RTM and Visual Studion 2012 Ultimate.

    Any help/insight would be appreciated.

    Thanks,

  • #2
    Also, just to add the the demo's that came with the SDK are all crashing at the same line as well.

    Comment


    • #3
      Dear Mmange,

      My name is Huy and I am a Sales Engineer at Foxit. The issue is with the library.

      Please do the following.
      1. Go to http://www.foxitsoftware.com/mswin8metro/
      2. Click on Download
      3. Register for the download
      4. Go to e-mail and Download the new library.
      5. Use the new library in project.

      -Huy
      Foxit Sales Engineer

      Comment


      • #4
        Hey ! Welcome here , I think you have share great knowledge with us. Thanks for this excellent post.

        Comment


        • #5
          Hello
          I have the same problem
          I downloaded the latest version (FoxitEmbeddedSDKforWinrt21473.494.45852.115_enu.z ip), but it crash with the same error on Base.InitLibrary(hInstance);

          (System.StubHelpers.StubHelpers.GetWinRTFactoryObj ect(IntPtr pCPCMD
          at Foxit.General.PDF.Base.InitLibrary(InstanceHandle hInstance)
          Exception de HRESULT : 0x8007007F

          Thanks in advance
          Last edited by tinmar; 03-08-2013, 06:27 PM.

          Comment


          • #6
            Dear All,

            The least version should have have this issue. Foxit have two version for Windows RT/Pro, one is for Windows 8.0 and the other is for Windows 8.1. Mixing and matching the operating system with the wrong SDK, will return this error. Please make sure you download and use the correct one.

            http://www.foxitsoftware.com/product...oduct=Embedded

            Sincerely,
            Huy

            Comment

            Working...
            X