Migliore gestione jar
git-svn-id: svn://10.65.10.50/branches/R_10_00@23012 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
e08b9a6d54
commit
7918129e41
@ -988,7 +988,7 @@ bool OsWin32_GotoUrl(const char* url, const char* action)
|
||||
if (wxStrstr(url, ".jar"))
|
||||
{
|
||||
const wxFileName fn = url;
|
||||
wxString args; args << "-jar " << fn.GetFullName();
|
||||
wxString args; args << "-jar " << fn.GetFullPath();
|
||||
HINSTANCE hinst = ::ShellExecute(NULL, NULL, "java.exe", args, fn.GetPath(), SW_HIDE); // Hide java console
|
||||
DWORD winst = DWORD((DWORD*)hinst); // Tutto 'sto giro per evitare un warning
|
||||
ok = UINT(winst) > 32;
|
||||
|
Loading…
x
Reference in New Issue
Block a user