I changed an environ ment variable (actually an installation program did it). It was plainly changed as seen from the control panel.
However, until rebooted, the GETENVQQ call still returns the OLD env.var.
You don't say which OS, but under the NT family anyway you have to log in again to get your local copy of the environment variables updated. So the routine is working as expected.
My oversight,win2k-SP2 CVF 6.5Azat indeh NT family?