User rights on a Vista OS

Re: User rights on a Vista OS

Postby lucasdebeltran » Mon Oct 01, 2012 6: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.
User avatar
lucasdebeltran
 
Posts: 1303
Joined: Tue Jul 21, 2009 8:12 am

Re: User rights on a Vista OS

Postby StefanHaupt » Tue Oct 02, 2012 6: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
StefanHaupt
 
Posts: 824
Joined: Thu Oct 13, 2005 7:39 am
Location: Germany

Re: User rights on a Vista OS

Postby VictorCasajuana » 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 ?
User avatar
VictorCasajuana
 
Posts: 197
Joined: Wed Mar 28, 2018 4:38 pm
Location: Vinaròs

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot], SantaCroya and 17 guests