Portable Class Library with unmanaged dll support for Windows Store apps


  • Hello folks!

    I've developed a Portable Class Library to communicate with a Pin Pad (which you use at the ATM). This portable class library uses an unmanaged dll and it is working absolutely fine with Windows Forms, WPF, ASP.NET etc. 

    However, it never works with Windows Store app as gives me an error;

    Unable to load DLL (Module could not be found HRESULT: 0x8007007E)

    Then I had to move the DLL to SysWOW64 and then it returned me an error below;

    an attempt was made to load a program with an incorrect format exception from hresult 0x8007000B

    Can anyone please let me know what is the issue and how can we resolve it?



    Thursday, April 17, 2014 9:00 AM