This commit is contained in:
DavidXanatos 2024-10-09 09:40:42 +02:00
parent 1d0602e0b9
commit 8253f73d26
2 changed files with 6 additions and 4 deletions

View File

@ -8,6 +8,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
### Fixed
- fixed ImDiskApp uninstall key is always written to the registry [#4282](https://github.com/sandboxie-plus/Sandboxie/issues/4282)
### Changed
- improved SandboxieCrypto startup

View File

@ -993,7 +993,7 @@ _FX ULONG Scm_StartBoxedService2(const WCHAR *name, SERVICE_QUERY_RPL *qrpl)
STARTUPINFO si;
const WCHAR *ProcessName;
BOOLEAN use_sbiesvc = TRUE;
//BOOLEAN use_sbiesvc = TRUE;
if (_wcsicmp(name, _bits) == 0) {
ProcessName = SandboxieBITS;
@ -1004,11 +1004,11 @@ _FX ULONG Scm_StartBoxedService2(const WCHAR *name, SERVICE_QUERY_RPL *qrpl)
}
else if (_wcsicmp(name, Scm_CryptSvc) == 0) {
ProcessName = SandboxieCrypto;
use_sbiesvc = FALSE;
//use_sbiesvc = FALSE;
} else
ProcessName = NULL;
if (! use_sbiesvc) {
/*if (! use_sbiesvc) {
memzero(&si, sizeof(STARTUPINFO));
si.cb = sizeof(STARTUPINFO);
@ -1021,7 +1021,7 @@ _FX ULONG Scm_StartBoxedService2(const WCHAR *name, SERVICE_QUERY_RPL *qrpl)
CloseHandle(pi.hProcess);
return ERROR_SUCCESS;
}
}*/
si.lpReserved = NULL;
if (SbieDll_RunFromHome(ProcessName, NULL, &si, NULL)) {