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:
parent
914b9ef724
commit
5b459898d4
@ -171,7 +171,7 @@ long XVT_CALLCONV1 TApplication::task_eh(WINDOW win, EVENT *ep)
|
|||||||
message_box("Attach to process %d ...", getpid());
|
message_box("Attach to process %d ...", getpid());
|
||||||
#endif
|
#endif
|
||||||
do_events();
|
do_events();
|
||||||
|
allow_another_instance();
|
||||||
break;
|
break;
|
||||||
#if XVT_OS == XVT_OS_WIN || XVT_OS == XVT_OS_NT
|
#if XVT_OS == XVT_OS_WIN || XVT_OS == XVT_OS_NT
|
||||||
case E_UPDATE:
|
case E_UPDATE:
|
||||||
|
@ -88,7 +88,6 @@ word TExternal_app::run(
|
|||||||
}
|
}
|
||||||
main_app().begin_wait();
|
main_app().begin_wait();
|
||||||
HL_LOGOUT();
|
HL_LOGOUT();
|
||||||
allow_another_instance();
|
|
||||||
_exitcode = WinExec((char*)(const char*)path, SW_SHOW);
|
_exitcode = WinExec((char*)(const char*)path, SW_SHOW);
|
||||||
|
|
||||||
if (_exitcode >= 32)
|
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
|
// puo' interrompersi a meta'; ecco perche il valore di ritorno di HL_LOGIN viene
|
||||||
// ignorato.
|
// ignorato.
|
||||||
HL_LOGIN(ModAd, DONT_CARE, REFKEY, VERKEY);
|
HL_LOGIN(ModAd, DONT_CARE, REFKEY, VERKEY);
|
||||||
deny_another_instance();
|
|
||||||
#endif
|
#endif
|
||||||
return _exitcode;
|
return _exitcode;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user