diff --git a/GreenshotPlugin/Core/WindowsHelper.cs b/GreenshotPlugin/Core/WindowsHelper.cs index 0605be419..34ea4badb 100644 --- a/GreenshotPlugin/Core/WindowsHelper.cs +++ b/GreenshotPlugin/Core/WindowsHelper.cs @@ -172,7 +172,10 @@ namespace GreenshotPlugin.Core { static WindowDetails() { try { - appVisibility = COMWrapper.CreateInstance(); + // Only try to instanciate when Windows 8 or later. + if (Environment.OSVersion.Version.Major >= 6 && Environment.OSVersion.Version.Minor >= 2) { + appVisibility = COMWrapper.CreateInstance(); + } } catch {} }