summaryrefslogtreecommitdiffhomepage
path: root/proto-simconnect/ftnoir_protocol_sc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'proto-simconnect/ftnoir_protocol_sc.cpp')
-rw-r--r--proto-simconnect/ftnoir_protocol_sc.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/proto-simconnect/ftnoir_protocol_sc.cpp b/proto-simconnect/ftnoir_protocol_sc.cpp
index 1a844429..812fdcb3 100644
--- a/proto-simconnect/ftnoir_protocol_sc.cpp
+++ b/proto-simconnect/ftnoir_protocol_sc.cpp
@@ -170,6 +170,7 @@ module_status simconnect::initialize()
if (ctx.is_ok())
{
SCClientLib.setFileName("SimConnect.dll");
+ SCClientLib.setLoadHints(QLibrary::PreventUnloadHint);
if (!SCClientLib.load())
return error(tr("dll load failed -- %1").arg(SCClientLib.errorString()));
}