![]() |
Delphi-Version: XE5
AdjustTokenPrivileges on XE5
Delphi-Quellcode:
On 2010 is oke, on XE5 as above. Please advice.
var
TokenPrivileges: TTokenPrivileges; Handle, ReturnLength: NativeUint; // For XE5, normally I'm using Cardinal // ........... Result := AdjustTokenPrivileges(Handle, False, TokenPrivileges, 0, PTokenPrivileges(nil)^, ReturnLength); // [dcc32 Error] MainFrm.pas(422): E2250 There is no overloaded version of 'AdjustTokenPrivileges' that can be called with these arguments |
AW: AdjustTokenPrivileges on XE5
The answer is just a CTRL+[Left mouse click] away from you ...
or
Delphi-Quellcode:
,
AdjustTokenPrivileges( {inside the round brackets press SHIFT+CTRL+SPACE} )
or move the mouse pointer over
Delphi-Quellcode:
and watch the funny symbols appearing on the screen,
AdjustTokenPrivileges
or ![]() or maybe a lot more ... (my delphi is talking to me while typing [CnPack, IDE FixPack] and presenting me also the parameters and types - ok, I keep my eyes open to watch the screen) |
Re: AdjustTokenPrivileges on XE5
Delphi-Quellcode:
This newer Delphis are non logical as olders...
Handle: THandle;
ReturnLength: Cardinal; |
Alle Zeitangaben in WEZ +1. Es ist jetzt 13:55 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz