About an exception during running the example for WinUI 3.0 demo.

OneCoder 21 Reputation points
2021-08-01T08:58:10.967+00:00

I had downloaded the example, "Build2020Demo", for WinUI 3.0 demo. at "https://github.com/microsoft/WinUI-3-Demos".

The example was built with the option "x64" in Visual Studio 2019 Community and successfully done.

But, when I run the built example, I got "Unhandled exception" as can be seen in the attached image.

I have run the example in Visual Studio with "Start New Instance".

Is this exception because some components are missed?

C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,636 questions
{count} votes

Accepted answer
  1. Castorix31 83,206 Reputation points
    2021-08-01T16:17:37.697+00:00

    You must click on "Start New Instance". on the Package
    otherwise it fails at RoGetActivationFactory with REGDB_E_CLASSNOTREG
    I compiled it as x86 :

    119593-winui.jpg


0 additional answers

Sort by: Most helpful