Article

From:
To:
Jan Doggen
Subject:
Re: Impersonate user from service: SetTokenInformation err 998 "Invalidaccess
Newsgroup:
embarcadero.public.delphi.nativeapi

Re: Impersonate user from service: SetTokenInformation err 998 "Invalidaccess

You should use RegOpenCurrentUser instead of RegOpenKey(Ex) (TRegistry).
These functions don't work with impersonation.

Christian Wimmer
FYI: Phrase searches are enclosed in either single or double quotes
 
 
Originally created by
Tamarack Associates
Thu, 28 Mar 2024 21:56:18 UTC
Copyright © 2009-2024
HREF Tools Corp.