Great! Works a treat! I think I'll go with the run under system account
option.
Tom
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Roger Upole
Sent: Wednesday, March 02, 2005 7:49 PM
To: python-win32@python.org
Subject: [python-win32] Re: win32process us
ername for each process?
Thanks, Tom
-----------
Tom Haddon
Equilar, Inc.
1710 South Amphlett Boulevard
Suite 312
San Mateo, CA 94402
650-286-4528 (phone)
650-286-4513 (fax)
[EMAIL PROTECTED]
CONFIDENTIALITY NOTICE:
This is a transmission from Equilar, Inc.
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
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
tProcessMemoryInfo(handle)
if __name__=="__main__":
processes = WinProcesses()
test = processes.listprocesses()
print test
-------
Tom Haddon
Equilar, Inc.
1710 South Amphlett Boulevard
Suite 312
San Mateo, CA 94402
650-286-4528 (ph