Patch level : 2.0 470
Files correlati : xvaga.dll Ricompilazione Demo : [ ] Commento : Migliorato riconoscimento della presenza di un server di chiavi locale git-svn-id: svn://10.65.10.50/trunk@11142 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
8ee98b279a
commit
83b0fdc02f
@ -6,6 +6,7 @@
|
||||
#include "wx/fileconf.h"
|
||||
#include "wx/fontdlg.h"
|
||||
#include "wx/image.h"
|
||||
#include <wx/snglinst.h>
|
||||
|
||||
#include "wx/fs_zip.h"
|
||||
#include "wx/html/helpctrl.h"
|
||||
@ -3487,12 +3488,15 @@ BOOLEAN xvt_sys_goto_url(const char* url, const char* action)
|
||||
|
||||
BOOLEAN xvt_sys_dongle_server_is_running()
|
||||
{
|
||||
wxSingleInstanceChecker sic("Authorization");
|
||||
BOOLEAN ok = sic.IsAnotherRunning();
|
||||
|
||||
#ifdef WIN32
|
||||
ATOM a = GlobalFindAtom("DONGLE_SERVER_ATOM");
|
||||
return a != 0;
|
||||
if (!ok) // Testo anche Frontend!
|
||||
ok = ::GlobalFindAtom("DONGLE_SERVER_ATOM") != 0;
|
||||
#endif
|
||||
|
||||
return FALSE;
|
||||
return ok;
|
||||
}
|
||||
|
||||
int xvt_sys_get_profile_string(const char* file, const char* paragraph, const char* name,
|
||||
|
Loading…
x
Reference in New Issue
Block a user