by tzeen [tzeen at yahoo dot com] posted on 2004/10/01
i got the following error after run the class windows controller.cs
access denied
the following code is beeing highlight :
if (OpenProcessToken(Process.GetCurrentProcess().Handle, TOKEN_ADJUST_PRIVILEGES | TOKEN_QUERY, ref tokenHandle) == 0)