We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 591808f commit b8d8567Copy full SHA for b8d8567
1 file changed
src/WebView.cpp
@@ -32,6 +32,9 @@ int CALLBACK WinMain(
32
_In_ int nCmdShow
33
)
34
{
35
+ // Initialize COM for WebView
36
+ std::ignore = CoInitializeEx(nullptr, COINIT_APARTMENTTHREADED);
37
+
38
/////////////////////////////////////////////////////
39
// Load config.json from same folder as executable
40
std::string configJsonPath = FolderFromPath(GetModulePath()) + "config.json";
0 commit comments