From e774b084149711b202c509a54233621bdb5918f6 Mon Sep 17 00:00:00 2001 From: Stevan Pettit Date: Sat, 8 Oct 2011 18:21:23 -0400 Subject: [PATCH] Modified Inno setup control file to pass proper string to psvince.dll when checking if OpenLP is currently running --- resources/windows/OpenLP-2.0.iss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/windows/OpenLP-2.0.iss b/resources/windows/OpenLP-2.0.iss index 9d2e6bfaa..d773a22fd 100644 --- a/resources/windows/OpenLP-2.0.iss +++ b/resources/windows/OpenLP-2.0.iss @@ -87,7 +87,7 @@ Root: HKCR; Subkey: "OpenLP\DefaultIcon"; ValueType: string; ValueName: ""; Valu Root: HKCR; Subkey: "OpenLP\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\OpenLP.exe"" ""%1""" [Code] -function IsModuleLoaded(modulename: String ): Boolean; +function IsModuleLoaded(modulename: AnsiString ): Boolean; external 'IsModuleLoaded@files:psvince.dll stdcall'; function GetUninstallString(): String;