in reply to Re^2: how do you propagate Tie::Registry modifications to the system environment
in thread how do you propagate Tie::Registry modifications to the system environment
Do you even glance at the source code? (http://cpansearch.perl.org/src/ROWAA/Win32-Env-0.03/lib/Win32/Env.pm) BroadcastEnv() is extremely simple. It boils down to the equivalent of:
SendMessage( HWND_BROADCAST, WM_SETTINGCHANGE, 0, "Environment" );
If you want to debug that, you should probably use something like Spy++ (part of Visual Studio).
It taking a long time probably means that you have a service or similar process that is hung.
- tye
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: how do you propagate Tie::Registry modifications to the system environment (UtS,L)
by warrendodge (Initiate) on Aug 16, 2010 at 21:34 UTC | |
by tye (Sage) on Aug 16, 2010 at 21:38 UTC | |
by tye (Sage) on Oct 08, 2010 at 21:39 UTC |