diff --git a/G940LEDControl/Bin/FSXSP2-SimConnect.dll b/G940LEDControl/Bin/FSXSP2-SimConnect.dll new file mode 100644 index 0000000..a2bf93e Binary files /dev/null and b/G940LEDControl/Bin/FSXSP2-SimConnect.dll differ diff --git a/G940LEDControl/G940LEDControl.dproj b/G940LEDControl/G940LEDControl.dproj index 3fde1cf..01e0c27 100644 --- a/G940LEDControl/G940LEDControl.dproj +++ b/G940LEDControl/G940LEDControl.dproj @@ -49,8 +49,7 @@ true - 6 - 1 + 2 rtl;dbrtl;$(DCC_UsePackage) Lib Bin @@ -59,7 +58,7 @@ None G940LEDControl_Icon.ico Vcl;Vcl.Imaging;Vcl.Touch;Vcl.Samples;Vcl.Shell;System;Xml;Data;Datasnap;Web;Soap;Winapi;System.Win;$(DCC_Namespace) - CompanyName=X²Software;FileDescription=G940 LED Control;FileVersion=1.1.6.0;InternalName=;LegalCopyright=© 2011 - 2016 X²Software;LegalTrademarks=;OriginalFilename=G940LEDControl.exe;ProductName=G940 LED Control;ProductVersion=1.1;Comments= + CompanyName=X²Software;FileDescription=G940 LED Control;FileVersion=1.2.0.0;InternalName=;LegalCopyright=© 2011 - 2017 X²Software;LegalTrademarks=;OriginalFilename=G940LEDControl.exe;ProductName=G940 LED Control;ProductVersion=1.2;Comments= 1033 diff --git a/G940LEDControl/G940LEDControl.res b/G940LEDControl/G940LEDControl.res index 794a31c..99a53a8 100644 Binary files a/G940LEDControl/G940LEDControl.res and b/G940LEDControl/G940LEDControl.res differ diff --git a/G940LEDControl/Units/FSXSimConnectClient.pas b/G940LEDControl/Units/FSXSimConnectClient.pas index 7f4f93a..a00c1ae 100644 --- a/G940LEDControl/Units/FSXSimConnectClient.pas +++ b/G940LEDControl/Units/FSXSimConnectClient.pas @@ -439,6 +439,8 @@ begin TFSXSimConnectStateMonitor.SetCurrentState(scsConnecting); TrySimConnect('FSX-SimConnect.dll'); + if SimConnectHandle = 0 then + TrySimConnect('FSXSP2-SimConnect.dll'); if SimConnectHandle = 0 then TrySimConnect('FSX-SE-SimConnect.dll'); diff --git a/Setup/G940LEDControl.iss b/Setup/G940LEDControl.iss index fe9f7c4..c872426 100644 --- a/Setup/G940LEDControl.iss +++ b/Setup/G940LEDControl.iss @@ -31,6 +31,7 @@ Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{ Source: "..\G940LEDControl\Bin\{#AppExeName}"; DestDir: "{app}"; Flags: ignoreversion Source: "..\G940LEDControl\Bin\LogiJoystickDLL.dll"; DestDir: "{app}"; Flags: ignoreversion Source: "..\G940LEDControl\Bin\FSX-SimConnect.dll"; DestDir: "{app}"; Flags: ignoreversion +Source: "..\G940LEDControl\Bin\FSXSP2-SimConnect.dll"; DestDir: "{app}"; Flags: ignoreversion Source: "..\G940LEDControl\Bin\FSX-SE-SimConnect.dll"; DestDir: "{app}"; Flags: ignoreversion [Icons]