We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
winrt::init_apartment();
See title :)
The text was updated successfully, but these errors were encountered:
First I've heard of apartments. What is the functionality that's broken due to this missing call?
Sorry, something went wrong.
This is needed to properly init WinRT. Is calls RoInitialize under the hood.
I had random crashes in my own code without this call. Also there was crashes in SDL related to missing call to this function libsdl-org/SDL#5270
See https://docs.microsoft.com/windows/uwp/cpp-and-winrt-apis/get-started for details. And contextfree/winrt-rust#62 (comment) for info about apartments.
Added in e2f1968
No branches or pull requests
See title :)
The text was updated successfully, but these errors were encountered: