How can I tell if an executable is already running?

I am writing a fairly large LabWindows/CVI program and sometimes will be triple - click the desktop icon, from two copies of it. Is it possible to tell if a program is already running, so that the second copy can itself cut?

Look at the CheckForDuplicateAppInstance () command: the help page also shows a short example of programming.

Tags: NI Software

Similar Questions

Maybe you are looking for