591 does not listen for WM_SETTINGCHANGE

Bugs and issues - current donor version.
Post Reply
Message
Author
Gourmand
Posts: 11
Joined: 26.11.2009, 07:54

591 does not listen for WM_SETTINGCHANGE

#1 Post by Gourmand » 29.06.2012, 07:30

FreeCommander is a file manager and it allows run cmd.exe to execute batch scripts. This places FC to same level as Windows Explorer. But FC does not listen for system event WM_SETTINGCHANGE to get Environment variables changed after SendMessage( HWND_BROADCAST, WM_SETTINGCHANGE, 0, "Environment" ). I assume this is a bug cause Windows Explorer listens for this and it changes environment variables in it's own copy. But FC does not.

Where this can force troubles? For example some setup program changes variables in registry hive HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Environment and then it broadcasts message WM_SETTINGCHANGE. After this installed program started from Windows Explorer will work fine but same program started from running copy of FreeCommander will not work. You will have to restart FC to solve this.

Request: please add WM_SETTINGCHANGE catch code to FreeCommander and change environment variables in running copy to match system.

Marek
Author
Author
Posts: 3994
Joined: 10.04.2006, 09:48
Location: Germany
Contact:

Re: 591 does not listen for WM_SETTINGCHANGE

#2 Post by Marek » 10.07.2012, 22:38

Implemented in the release 596.

Post Reply

Who is online

Users browsing this forum: No registered users and 31 guests