I have a program that needs to check the workstation task list to make sure that it will be the only instance of the task running.
Basically I'm trying to make sure that the user doesn't accidently start program execution twice by accident.
Let's say my program name is "abc.exe" How do I check the process list to make sure that an instance of "abc.exe" isn't already running?
I'm assuming there is a simple API to solve this one. Please assume I'm not using MFC and need to be Unicode compliant.
thanks,
jbs
Basically I'm trying to make sure that the user doesn't accidently start program execution twice by accident.
Let's say my program name is "abc.exe" How do I check the process list to make sure that an instance of "abc.exe" isn't already running?
I'm assuming there is a simple API to solve this one. Please assume I'm not using MFC and need to be Unicode compliant.
thanks,
jbs