I've one (A) script which calls another one (Sccript (B) with different start parameter). Everything worked well for years, multiple instances of (B) where there (some kind of messaging app with GUI's), no issue.
Now I changed (B) to another type of data gathering (from .accdb-File-Access to MySQL-Query).
As of now, (A) starts (B) with parameterset XYZ, later (A) starts (B) with parameterset ABC, then the first instance of (B) with YXZ gets killed and its GUI diappears - it is impossible to run more then one process of (B) simultaneously.
In that (B) there ist
Code: Select all
#singleinstance off
Code: Select all
#Singleinstance, off
I tried to replace my script (B) by
Code: Select all
#SingleInstance Off
mypid:=DllCall("GetCurrentProcessId")
msgbox, ,%mypid%, %a_now%
return
How about that ?