Replies: 2 comments 2 replies
-
You probably forgot something. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Ok I think I found my issue. I was allocating my wndproc in a local variable. When that gets garbage collected it crashes. |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Is it not possible to use
CreateWindowEx
in WinUI?It seems that simply creating a native window will eventually results in the following exception at some point:
An unhandled exception of type 'System.ExecutionEngineException' occurred in Microsoft.WinUI.dll
Beta Was this translation helpful? Give feedback.
All reactions