문제

I'm creating a process as a User(CreateProcessAsUser()) to launch an application on the users screen. I need to somehow get a function to run on the user's screen before the application launches. My thought were to CreateRemoteThread() and put my function in here but this would happen after the CreateProcessAsUser() already launched the application.Any one advise? Thanks

도움이 되었습니까?

해결책

Create a new application that executes your function and then executes the target application (which could be done using CreateProcess() as the new application was started via CreateProcessAsUser()).

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top