PDA

View Full Version : how do I detect an instance of setup already running?



dave2000
06-24-2002, 05:54 PM
Is there a way to detect if the same setup is already running? I'd like to prevent users from running the same setup twice (at the same time).

hvkong
06-25-2002, 01:41 AM
Why u need to do that? If u run the setup twice concurrently, the second launch will fail.

Happy Days
06-25-2002, 12:48 PM
:p

Perfect answer !!

If you have some other requirement, then you have to use the API to know if another instance of the program is running.

dave2000
06-25-2002, 02:32 PM
For some reason, the second time I run the same setup it doesn't detect itself and fail.

Is there an api call I can use to check this?