05.04.2019, 05:48
Moving Hybrid after the installation without properly deinstalling completely will only break more things. So hopefully you deinstalled it properly beforehand.
Still confused why Hybrid would complain about the admin rights on your windows System and not on mine,...
The code Hybrid uses under Windows to check the admin rights is rather simple:
which here only aborts Hybrid in case it's run as administrator,....
Cu Selur
Still confused why Hybrid would complain about the admin rights on your windows System and not on mine,...
The code Hybrid uses under Windows to check the admin rights is rather simple:
#ifdef Q_OS_WIN
bool HybridMainWindow::hasAdminRights()
{
SID_IDENTIFIER_AUTHORITY authority = { SECURITY_NT_AUTHORITY };
PSID adminGroup;
// Initialize SID.
if (!AllocateAndInitializeSid(&authority, 2, SECURITY_BUILTIN_DOMAIN_RID, DOMAIN_ALIAS_RID_ADMINS, 0, 0, 0, 0, 0, 0, &adminGroup))
return false;
BOOL isInAdminGroup = FALSE;
if (!CheckTokenMembership(nullptr, adminGroup, &isInAdminGroup)){
isInAdminGroup = FALSE;
}
FreeSid(adminGroup);
return bool(isInAdminGroup);
}
#endif
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.