Patch level :
Files correlati : Ricompilazione Demo : [ ] Commento : Migliorato test di presenza di ba0 e ba1 in esecuzione git-svn-id: svn://10.65.10.50/branches/R_10_00@21378 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
95fb7bab47
commit
ddfa687ab7
@ -1347,8 +1347,6 @@ void CampoSetup::NormalSetup()
|
|||||||
////////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////////
|
||||||
bool CampoSetup::SystemRunning(const wxString& strAppName, wxString strMsg) const
|
bool CampoSetup::SystemRunning(const wxString& strAppName, wxString strMsg) const
|
||||||
{
|
{
|
||||||
wxSingleInstanceChecker sicProgram(strAppName);
|
|
||||||
|
|
||||||
strMsg.Replace(wxT("PRODUCT"), PRODUCT);
|
strMsg.Replace(wxT("PRODUCT"), PRODUCT);
|
||||||
strMsg += "\nSi desidera ritentare?";
|
strMsg += "\nSi desidera ritentare?";
|
||||||
|
|
||||||
@ -1356,6 +1354,7 @@ bool CampoSetup::SystemRunning(const wxString& strAppName, wxString strMsg) cons
|
|||||||
bool bRetry = true;
|
bool bRetry = true;
|
||||||
while (bRetry)
|
while (bRetry)
|
||||||
{
|
{
|
||||||
|
wxSingleInstanceChecker sicProgram(strAppName);
|
||||||
int i;
|
int i;
|
||||||
for (i = 10; i > 0 && sicProgram.IsAnotherRunning(); i--)
|
for (i = 10; i > 0 && sicProgram.IsAnotherRunning(); i--)
|
||||||
wxSleep(1);
|
wxSleep(1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user