Replies: 1 comment 1 reply
-
IIRC, it basically does nothing. But what it does is put a crash point into main if, for some reason, the process starts without bootstrapping the Windows App Runtime. It will cause a crash in main which is easy to diagnose rather than some less obvious failure when trying to instantiate a Windows Runtime object. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm wondering what
XamlCheckProcessRequirements
, which precedes the message loop inside the XAML-generated main function, does. Like what does it look for, and what does it do on failure?Also, I've come across an example of a custom main function that removes that function call entirely. Is that okay to do?
Beta Was this translation helpful? Give feedback.
All reactions