Page 1 of 1

OLD FUNCTION SETMULTIPLE() FROM FIVEWIN

Posted: Wed Jun 04, 2008 3:40 pm
by HATHAL
Antonio.
Team, fivetechsoft forums.
OLD FUNCTION SETMULTIPLE() FROM FIVEWIN
Why function does not work.
Is nothing new to them Now.
regards.
hathal.

Set Multiple ON / OFF

Posted: Wed Jun 04, 2008 4:13 pm
by ukoenig
Hello,

i noticed this as well, i couldn't switch it off.

Best regards

Uwe :lol:

Posted: Wed Jun 04, 2008 4:53 pm
by Antonio Linares
In Windows 32 set multiple is ON by default, so you can run as many instances of your application as desired.

To turn it off you have to do it programmatically this way:

Code: Select all

IF IsExeRunning(cFileName(HB_ARGV(0))) 
   MsgAlert("Your application is already running !","Attention") 
   Quit 
ENDIF
More comments in:
http://forums.fivetechsoft.com/viewtopic.php?t=8922