FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour User rights on a Vista OS
Posts: 1303
Joined: Tue Jul 21, 2009 08:12 AM
Re: User rights on a Vista OS
Posted: Mon Oct 01, 2012 06:44 PM

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.

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.
Posts: 824
Joined: Thu Oct 13, 2005 07:39 AM
Re: User rights on a Vista OS
Posted: Tue Oct 02, 2012 06:54 AM
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
Posts: 309
Joined: Wed Mar 28, 2018 04:38 PM
Re: User rights on a Vista OS
Posted: Mon Sep 12, 2022 11:44 AM
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 ?

Continue the discussion