[python-win32] Re: GetModuleFileName requires Process or Thread handle?

Roger Upole rwupole at msn.com
Wed Aug 13 21:55:41 CEST 2008


GetModuleFileName retrieves module names for the current process only.
You can use GetModuleFileNameEx for other processes.
Pass 0 for the module handle to get the main executable.

           Roger




More information about the python-win32 mailing list