Exception in UWP on device and emulator

1

So, the problem: I have working application on UWP, written on C# and C++. It works as it must work on desktop in releas and debug modes. It worked on mobile devices and emulator not so long before some changes happend in C++ part. But now application crashes at the begining of C++ part if application opens on emulator or mobile. MSVS gives me this messages, but It does't helped:

  • Exception thrown at 0x7767B928 (ntdll.dll) in rhodes.exe: 0xC0000139: Entry Point Not Found.
  • Exception thrown: 'System.Runtime.InteropServices.COMException' in System.Private.Interop.dll
  • The specified procedure could not be found. (Exception from HRESULT: 0x8007007F)
  • Exception thrown: 'System.Runtime.InteropServices.COMException' in System.Private.Interop.dll
  • Exception thrown at 0x76EA2812 (KernelBase.dll) in rhodes.exe: 0x40080201: WinRT originate error (parameters: 0x8007007F, 0x00000050, 0x03B0E2DC).

Any ideas?

c#
c++
exception
dll
uwp
asked on Stack Overflow Jun 25, 2017 by Hramovnik

1 Answer

0

Go to Debug -> Windows -> Exception, and enable breaking on all exception types (C++, CLR and Win32) ones. Depending on where the issue comes from, you'll need to use either native or managed mode debugging (you can set it in Project Properties -> Debug tab). Now, the project should hit a breakpoint when you hit that exception, which will point you to where it is coming from.

answered on Stack Overflow Jun 26, 2017 by Sunius

User contributions licensed under CC BY-SA 3.0