win32process.EnumProcessModules returns the list of module handles, with the main executable
being the first one returned. Somebody also reported you can just use 0 for the module handle
to get the executable.
Also, on Win2k and XP I get an error trying to do do EnumProcessModules for the System
process no matter what access I specify, you might have to take that into account.
Roger
_______________________________________________ Python-win32 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-win32
