Ok. May be if I post my original problem someone can suggest another
way to solve it.
I'm changing the System Path variable in
[HKEY_LOCAL_MACHINE],'SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Environment'
folder.
And I want windows all _newly_ started apps to use new PATH.
My solution is to notify explorer with WM_SETTINGCHANGE.
I can do it in C++(as someone suggested) but I can't do it via
ActiveState's extensions. ;-(
Best regards,
Kerim mailto:[EMAIL PROTECTED]
Monday, September 17, 2001, 9:40:05 PM, I wrote:
KBW> Hello .
KBW> How can I translate this winapi call to python?
KBW> ( the problem is whith lparam that should be int - "TypeError: an integer is
required")
KBW> SendMessage(HWND_BROADCAST, WM_SETTINGCHANGE, 0, (LPARAM) TEXT("Environment"));
KBW> Thanks,
KBW> Kerim mailto:[EMAIL PROTECTED]
KBW> _______________________________________________
KBW> ActivePython mailing list
KBW> [EMAIL PROTECTED]
KBW> http://listserv.ActiveState.com/mailman/listinfo/activepython
_______________________________________________
ActivePython mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activepython