diff --git a/Client/Core/Keylogger/Logger.cs b/Client/Core/Keylogger/Logger.cs index a6ebcb73..3eea7533 100644 --- a/Client/Core/Keylogger/Logger.cs +++ b/Client/Core/Keylogger/Logger.cs @@ -50,6 +50,9 @@ namespace xClient.Core.Keylogger _timerFlush.Enabled = true; _timerFlush.Start(); + // Initialize the application message pipeline. + // Necessary for setting global hooks because setting a global + // hook requires an established message pipeline for the thread. Application.Run(); }