Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2002-10-21
23:34 • Ticket [625453ffff] broadcast registry env changes status still Closed with ... artifact: 4728bbe9bf user: hobbs
15:41 • Ticket [625453ffff]: 6 changes artifact: 6e26301808 user: dkf
2002-10-19
07:00 • Closed ticket [625453ffff]. artifact: bfb348bdda user: hobbs
06:54 • Ticket [625453ffff]: 4 changes artifact: f21869dba3 user: hobbs
06:54 • Add attachment regbroadcast.patch.3 to ticket [625453ffffffffff|625453f... artifact: 4e50988f3e user: hobbs
06:48 • Ticket [625453ffff] broadcast registry env changes status still Open with 4 ... artifact: 0ea0ab3c18 user: hobbs
06:07 • Ticket [625453ffff]: 4 changes artifact: 6c7dcda240 user: hobbs
2002-10-18
23:07 • New ticket [625453ffff]. artifact: 2ac5419e11 user: hobbs

broadcast registry env changes

Closed / Fixed625453ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 24 years ago
Descriptionplain2002-10-18 23:07:24
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.
hobbsplain2002-10-19 06:07:24
File Added - 33419: regbroadcast.patch
hobbsplain2002-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.
hobbsplain2002-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.
hobbsplain2002-10-19 07:00:28
Logged In: YES 
user_id=72656

Added for 8.4.1, up'ed reg to v1.1.
dkfplain2002-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.)
hobbsplain2002-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.
Log in (anonymous is fine) to add a comment.

Attachments: