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
Fri, 29 Mar 2024 07:02:12 UTC
Copyright © 2009-2024
HREF Tools Corp.