Hello.
I know how to check if a process is running, and how to terminate it, but, how do I determine how many instances of that process are running?
Thank you.
Hello.
I know how to check if a process is running, and how to terminate it, but, how do I determine how many instances of that process are running?
Thank you.
Nicholas.
<br />
<br />Please join: http://holzstukka.proboards81.com
well i was lazy actually, i had piece of code which allowed only 1 instance and since then I have nice add on pack freeware which only allows 1 instance of a program, simply by dropping a component on a form.
pack is called>>GI components, another LMD.
I know you asked specifically for how to know how many processes, but thought i mention that
BUMP.
Nicholas.
<br />
<br />Please join: http://holzstukka.proboards81.com
I think you need to provide more information. Do you need to know how many times the application has been started from within the application or by getting a process list?
In either case, use Google and Type in "Delphi Process Instance" ( without the quotes ) and you should find something.
No, I wouldn't run the application from the Delphi application.
I just want to, for example, check how many instances of notepad are open.
Nicholas.
<br />
<br />Please join: http://holzstukka.proboards81.com
Bookmarks