Enrico,
Sorry, i was not ignoring you, I wanted to remove all warnings.
Lautaro, thank you very much, the function works perfect!!.
Thank you both.
User rights on a Vista OS
- lucasdebeltran
- Posts: 1303
- Joined: Tue Jul 21, 2009 8:12 am
- Contact:
Re: User rights on a Vista OS
Muchas gracias. Many thanks.
Un saludo, Best regards,
Harbour 3.2.0dev, Borland C++ 5.82 y FWH 13.06 [producción]
Implementando MSVC 2010, FWH64 y ADO.
Abandonando uso xHarbour y SQLRDD.
Un saludo, Best regards,
Harbour 3.2.0dev, Borland C++ 5.82 y FWH 13.06 [producción]
Implementando MSVC 2010, FWH64 y ADO.
Abandonando uso xHarbour y SQLRDD.
-
- Posts: 824
- Joined: Thu Oct 13, 2005 7:39 am
- Location: Germany
Re: User rights on a Vista OS
Lautaro wrote:Hello,
Harbour have WAPI_ISUSERANADMIN() funcion in hbwin.
Be careful, this API-Function dos only work till Windows Vista, it does not work anymore with Windows 7 and above.
From the Msdn docs:
Requirements
Minimum supported client
Windows XP
Minimum supported server
Windows Server 2003
End of client support
Windows Vista
End of server support
Windows Server 2008
kind regards
Stefan
Stefan
- VictorCasajuana
- Posts: 269
- Joined: Wed Mar 28, 2018 4:38 pm
- Location: Vinaròs
- Has thanked: 1 time
- Contact:
Re: User rights on a Vista OS
StefanHaupt wrote:Lautaro wrote:Hello,
Harbour have WAPI_ISUSERANADMIN() funcion in hbwin.
Be careful, this API-Function dos only work till Windows Vista, it does not work anymore with Windows 7 and above.
From the Msdn docs:Requirements
Minimum supported client
Windows XP
Minimum supported server
Windows Server 2003
End of client support
Windows Vista
End of server support
Windows Server 2008
in this link does not indicate that support for this function has ended: https://docs.microsoft.com/en-us/windows/win32/api/shlobj_core/nf-shlobj_core-isuseranadmin
--------
¿ Y porque no ?
¿ And why not ?
¿ Y porque no ?
¿ And why not ?