ERROR: Client exited with error code: -1073740791
I am trying to package a basic project (mostly empty) and when I try to integrate a static library, it cannot Launch after the packaging completes. The error I see is:
The static library I'm using is built from a Windows UWP static library project from VS 2017 (C++), where I have
What's interesting is everything works as expected in the editor, and the static library and bluetooth functionality is functioning without error. Furthermore, I do see traces of
Why does my library work within the editor and not during this packaging phase?
== UPDATE ==
The error was in regards to WinRT not being CoInitialized. I found that by defining`Microsoft::WRL::Wrappers::RoInitializeWrapper initialize(RO_INIT_MULTITHREADED);` globally in the thread, I could get this to run up to the splash screen, but then crashes with an exit code of 1, unknown error. I'm going to remake the static library as a dynamic one and see if that makes any sort of difference.
== UPDATE 2 == I rebuilt this as a DLL, it works now.
Follow this question
Once you sign in you will be able to subscribe for any updates here