Create Windows installer #53
All checks were successful
BlockStorage/repertory/pipeline/head This commit looks good
All checks were successful
BlockStorage/repertory/pipeline/head This commit looks good
This commit is contained in:
@@ -34,16 +34,21 @@ const
|
|||||||
SMTO_ABORTIFHUNG = $0002;
|
SMTO_ABORTIFHUNG = $0002;
|
||||||
WM_SETTINGCHANGE = $001A;
|
WM_SETTINGCHANGE = $001A;
|
||||||
|
|
||||||
|
type
|
||||||
|
LPARAM = LongWord;
|
||||||
|
LRESULT = LongWord;
|
||||||
|
WPARAM = LongWord;
|
||||||
|
|
||||||
function SendMessageTimeout(hWnd: HWND; Msg: UINT; wParam: WPARAM; lParam: LPARAM;
|
function SendMessageTimeout(hWnd: HWND; Msg: UINT; wParam: WPARAM; lParam: LPARAM;
|
||||||
fuFlags: UINT; uTimeout: UINT; out lpdwResult: DWORD): LRESULT;
|
fuFlags: UINT; uTimeout: UINT; out lpdwResult: DWORD): LRESULT;
|
||||||
external 'SendMessageTimeoutW@user32.dll stdcall';
|
external 'SendMessageTimeoutW@user32.dll stdcall';
|
||||||
|
|
||||||
procedure RefreshEnvironment();
|
procedure RefreshEnvironment();
|
||||||
var
|
var
|
||||||
R: Cardinal;
|
R: DWORD;
|
||||||
begin
|
begin
|
||||||
SendMessageTimeout(HWND_BROADCAST, WM_SETTINGCHANGE, 0,
|
SendMessageTimeout(HWND_BROADCAST, WM_SETTINGCHANGE, 0,
|
||||||
LPARAM(PChar('Environment')), SMTO_ABORTIFHUNG, 5000, R);
|
'Environment', SMTO_ABORTIFHUNG, 5000, R);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function NormalizeSemicolons(S: string): string;
|
function NormalizeSemicolons(S: string): string;
|
||||||
|
Reference in New Issue
Block a user