On 4/24/19 4:37 PM, Fabian Maurer wrote:
Does it pick up updated registry values after WM_SETTINGCHANGE? New explorer child processes should get updated variables after such notification.
Only partially. WM_SETTINGCHANGE or logout/login don't reproduce the effect I want to show with this test. To have environment variables updated out of order (i.e. not only expanded in alphabetical order), you have to do a reboot.
Asking to reboot is unrealistic.
I'm sorry, it's the only time this specific behavior is triggered.
That's fine for standalone test program that you can attach to bug report for example.
Having it in tests just adds a path that virtually will never be executed, that's what I'm saying.
Regards, Fabian Maurer