Patch level : 12.0 494

Files correlati     : ba7.exe

richieste da CRPA
In CRPA e Dinamica hanno necessità di lanciare 2 postini uno per studio.
Ora non è possibile. Ho aggiunto un paramentro -force a ba7 (ba7 -0 -force -uADMIN) per permettere di lanciare più di un postino con utenti windows diversi e su studi diversi.

git-svn-id: svn://10.65.10.50/branches/R_10_00@24262 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
bonazzi 2018-01-10 21:41:53 +00:00
parent e701d696b0
commit ec1f3dd476

View File

@ -1746,12 +1746,14 @@ protected:
bool TMailer::create()
{
if (xvt_vobj_get_attr(NULL_WIN, ATTR_APPL_ALREADY_RUNNING))
TString arg = main_app().argv(2);
if (!arg.starts_with("-f") && xvt_vobj_get_attr(NULL_WIN, ATTR_APPL_ALREADY_RUNNING))
{
TString msg; msg.format(FR("%s già in esecuzione!"), appname);
xvt_dm_popup_error(msg);
return false;
}
}
return TSkeleton_application::create();
}