I am using "CreateProcessWithLogonW" in my code. it works fine it runs the application as intended, up to the point that returns a process in code.
My problem is: Since I am impersonating another user, Access to the process is denied. I need to add the "Exited" event to this process, but I keep getting the "Access denied" message.
Thank you for any help I can get.
My problem is: Since I am impersonating another user, Access to the process is denied. I need to add the "Exited" event to this process, but I keep getting the "Access denied" message.
Thank you for any help I can get.