Home > Net >  UWP CX program C/call C # Windows runtime component error debug mode
UWP CX program C/call C # Windows runtime component error debug mode

Time:01-30

I created a simple general Windows platform (UWP) c + +/CX application, then create a simple c # Windows runtime component
I in c + +/CX applications,
XiaYiRt: : Class1 ^ _parser=ref new XiaYiRt: : Class1 ();
To access the c # Windows runtime component name in the space a class
This code in release mode, but the debug mode is always an error

0 x768c46d2 (located in xiayiapp1. Exe) caused by abnormal: Microsoft c + + exceptions: Platform: : COMException ^, located in the memory location 0 x0478d7a8, HRESULT: 0 x80131040 cannot find the text associated with the error code,
WinRT information: unable to find a text associated with the error code,

Debug mode has tried: native and managed, the machine and script
Option in the real-time debugging has checked the machine, managed and script
Couldn't solve the problem are
Please teach the man
  •  Tags:  
  • C#
  • Related