by tzeen 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)
any idea to solve this? thanks alot for help. |