Thanks to all that replied. I got it working.
I just had it search for the existence of a temporary
on startup.


Andre van Zuydam wrote:
Hi

LMD free components has a drag drop component called LMDOneInstance under their LMD Sys components which could easily be flagged false to allow another application to run. Im sure a Google search will find the appropriate release of their components for download for the version of Delphi you are using.

Yours sincerely

Andre

On 08/01/2010 06:35 PM, Fastream Technologies wrote:
Hello,

Why don't you check a registry entry you would have set from the first
instance program from the second one before checking for mutex?

Regards,

SZ

On Fri, Jan 8, 2010 at 5:28 PM, -K2RFP-<[email protected]>  wrote:

I'm using a Mutex to prevent running multiple
instances of a program. However, sometimes while
running the program I want to run a second instance
by setting a checkbox to allow that to happen.

How do I code the program to do that?


__________________________________________________
Delphi-Talk mailing list ->  [email protected]
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi-talk
__________________________________________________
Delphi-Talk mailing list ->  [email protected]
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi-talk


__________________________________________________
Delphi-Talk mailing list -> [email protected]
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi-talk

Reply via email to