Ripristinate le chiamate a allow_another_instance() e deny_another_instance()

come erano in precedenza.


git-svn-id: svn://10.65.10.50/trunk@3082 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
angelo 1996-06-24 16:57:55 +00:00
parent 914b9ef724
commit 5b459898d4
2 changed files with 1 additions and 3 deletions

View File

@ -171,7 +171,7 @@ long XVT_CALLCONV1 TApplication::task_eh(WINDOW win, EVENT *ep)
message_box("Attach to process %d ...", getpid());
#endif
do_events();
allow_another_instance();
break;
#if XVT_OS == XVT_OS_WIN || XVT_OS == XVT_OS_NT
case E_UPDATE:

View File

@ -88,7 +88,6 @@ word TExternal_app::run(
}
main_app().begin_wait();
HL_LOGOUT();
allow_another_instance();
_exitcode = WinExec((char*)(const char*)path, SW_SHOW);
if (_exitcode >= 32)
@ -212,7 +211,6 @@ word TExternal_app::run(
// puo' interrompersi a meta'; ecco perche il valore di ritorno di HL_LOGIN viene
// ignorato.
HL_LOGIN(ModAd, DONT_CARE, REFKEY, VERKEY);
deny_another_instance();
#endif
return _exitcode;
}