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:
@@ -39,16 +39,19 @@ type
|
||||
LRESULT = LongWord;
|
||||
WPARAM = LongWord;
|
||||
|
||||
function SendMessageTimeout(hWnd: HWND; Msg: UINT; wParam: WPARAM; lParam: LPARAM;
|
||||
function SendMessageTimeout(hWnd: HWND; Msg: UINT; wParam: WPARAM; lParam: WideString;
|
||||
fuFlags: UINT; uTimeout: UINT; out lpdwResult: DWORD): LRESULT;
|
||||
external 'SendMessageTimeoutW@user32.dll stdcall';
|
||||
|
||||
procedure RefreshEnvironment();
|
||||
var
|
||||
EnvStr: WideString;
|
||||
R: DWORD;
|
||||
begin
|
||||
SendMessageTimeout(HWND_BROADCAST, WM_SETTINGCHANGE, 0,
|
||||
'Environment', SMTO_ABORTIFHUNG, 5000, R);
|
||||
EnvStr := 'Environment' + #0 + #0;
|
||||
|
||||
SendMessageTimeout(HWND_BROADCAST, WM_SETTINGCHANGE, 0,
|
||||
EnvStr, SMTO_ABORTIFHUNG, 5000, R);
|
||||
end;
|
||||
|
||||
function NormalizeSemicolons(S: string): string;
|
||||
|
Reference in New Issue
Block a user