Tcl Source Code

View Ticket
Login
Ticket UUID: 625453
Title: broadcast registry env changes
Type: Patch Version: None
Submitter: hobbs Created on: 2002-10-18 23:07:24
Subsystem: 32. registry Package Assigned To: hobbs
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2002-10-21 23:34:19
Resolution: Fixed Closed By: hobbs
    Closed on: 2002-10-21 16:34:19
Description:
It was noted that just setting the environment vars in the 
registry won't propagate them to the current system (a 
relogon is required).  You must broadcase a 
WM_SETTINGCHANGE message, as noted in this 
howto and url:

http://support.microsoft.com/default.aspx?scid=KB;EN-
US;q104011

http://www.toflidium.com/citydesk/articles/docs/fog00000
00016.html

Attached is the 'registry broadcast' command 
implementation to do this, with docs and tests.
User Comments: hobbs added on 2002-10-21 23:34:19:
Logged In: YES 
user_id=72656

The sub-packages have a history of being rev'ed between 
releases.  This goes into the debate of the value of tieing the 
core to packages, which I won't do here.

dkf added on 2002-10-21 15:41:09:
Logged In: YES 
user_id=79902

Should such a change (new script-level API) go into a patch
release?  Should such a change to something distributed as
part of the core go in without a TIP?  After all, the
registry package is listed as part of TIP#16 (unlike the
thread extension.)

hobbs added on 2002-10-19 07:00:28:
Logged In: YES 
user_id=72656

Added for 8.4.1, up'ed reg to v1.1.

hobbs added on 2002-10-19 06:54:45:

File Deleted - 33420: 



File Added - 33421: regbroadcast.patch.3

Logged In: YES 
user_id=72656

one more update with more/better tests.  tested on Win2K 
and Win98.

hobbs added on 2002-10-19 06:48:39:

File Deleted - 33419: 



File Added - 33420: regbroadcast.patch.2

Logged In: YES 
user_id=72656

updated patch to remove unnecessary Tcl_WinUtfToTchar 
conversion.

hobbs added on 2002-10-19 06:07:24:

File Added - 33419: regbroadcast.patch

Attachments: