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/fileconf.h"
|
||||||
#include "wx/fontdlg.h"
|
#include "wx/fontdlg.h"
|
||||||
#include "wx/image.h"
|
#include "wx/image.h"
|
||||||
|
#include <wx/snglinst.h>
|
||||||
|
|
||||||
#include "wx/fs_zip.h"
|
#include "wx/fs_zip.h"
|
||||||
#include "wx/html/helpctrl.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()
|
BOOLEAN xvt_sys_dongle_server_is_running()
|
||||||
{
|
{
|
||||||
|
wxSingleInstanceChecker sic("Authorization");
|
||||||
|
BOOLEAN ok = sic.IsAnotherRunning();
|
||||||
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
ATOM a = GlobalFindAtom("DONGLE_SERVER_ATOM");
|
if (!ok) // Testo anche Frontend!
|
||||||
return a != 0;
|
ok = ::GlobalFindAtom("DONGLE_SERVER_ATOM") != 0;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
return FALSE;
|
return ok;
|
||||||
}
|
}
|
||||||
|
|
||||||
int xvt_sys_get_profile_string(const char* file, const char* paragraph, const char* name,
|
int xvt_sys_get_profile_string(const char* file, const char* paragraph, const char* name,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user