OLD FUNCTION SETMULTIPLE() FROM FIVEWIN

Post Reply
User avatar
HATHAL
Posts: 77
Joined: Tue Nov 15, 2005 3:38 pm
Location: The Kingdom Saudi Arabia -Riyadh
Contact:

OLD FUNCTION SETMULTIPLE() FROM FIVEWIN

Post by HATHAL »

Antonio.
Team, fivetechsoft forums.
OLD FUNCTION SETMULTIPLE() FROM FIVEWIN
Why function does not work.
Is nothing new to them Now.
regards.
hathal.
User avatar
ukoenig
Posts: 3981
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany
Contact:

Set Multiple ON / OFF

Post by ukoenig »

Hello,

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

Best regards

Uwe :lol:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post 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
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply