RE: [python-win32] Re: Memory Usage for Processes

2005-02-10 Thread Tom Haddon
Sorry, a little quick on the trigger there. I have it working as below (as you can see this is just testing code). I'm now having trouble retrieving the name of the process. I'm trying: win32process.GetModuleFileNameEx(handle, ) The module handle is escaping me. I've tried using the win32con.P

RE: [python-win32] Re: Memory Usage for Processes

2005-02-10 Thread Tom Haddon
Hi Roger, I tried both of these but was getting the following messages. Is there any way of confirming which parameter it's refering to? Could it be my "process" parameter? Thanks, Tom Traceback (most recent call last): File "C:\test\memusage.py", line 24, in ? test = processes.listproce