First post, by mbail
mbail
Offline
I read in rls notes that there is a problem about updating PATH variable.
Maybe the following helps:
1. Update the registry HKCU\Environment
then call:
2. SendMessageTimeout(HWND_BROADCAST, WM_SETTINGCHANGE, NULL, "Environment", 2, 1000, NULL);
When you modify MyComputer->Properties->Advanced->Environmental Variables that does the same. This updates the env. vars in explorer.exe (among others), then new processes will get the new environmental vars.