Posted By
|
Message
|
The_Antisony At least I'm not Circy
Registered 01/07/2002
Points 1341
|
11th July, 2011 at 19:39:07 -
I'm using MMF2 Dev and I'm creating a launcher for a portable games package. I have a friend who consistently downloads games from P2P sources and ends up with infections I've been getting sick of repairing. My answer is creating a package of legal portable games he can run from a thumb drive, but his computer isn't all that awesome, so I'd like to build a process and service optimizer into the app.
So far, I've been mucking around with the process viewer extension and I've been able to list X number of process names to a list object, but either I have to determine X as a static number like "10", and I only see 10 processes even if there are more running, or I try to set up an enumeration loop which lists the last process an infinite number of times without discovering any kind of EOF or end of list.
Is there any way to pull a total number of running system processes before trying to enumerate a list, or some way of discovering the end of list and stopping the list object from adding lines endlessly? I know that's probably a noob question, but it's been a few years since I've attempted anything near serious in MMF.
ChrisD> Employer: Say, wanna see a magic trick?
ChrisD> Employee: Uhh… sure, boss.
ChrisD> Employer: Your job! It just disappeared! Pack your things and leave! Pretty good trick, huh?
|
The_Antisony At least I'm not Circy
Registered 01/07/2002
Points 1341
|
12th July, 2011 at 07:02:44 -
Nevermind. I ended up having to ditch the list object and use the tree object instead. I got the list to populate correctly, but Process Viewer can only terminate processes by ID and I didn't want to deal with the headache of assigning and recalling alterable values like crazy.
ChrisD> Employer: Say, wanna see a magic trick?
ChrisD> Employee: Uhh… sure, boss.
ChrisD> Employer: Your job! It just disappeared! Pack your things and leave! Pretty good trick, huh?
|
|
|