Hi all,
I am developing a windows service and starting a process(using process.start("notepad.exe")) from its onstart() method.But its not working.I don't want to tick Allow interact with desktop by user.In order to archive it i used the APIs Setproceeswindowstation(), and setthreaddesktop.But it seems not working.I can see the process in task manager but the window not appears.Anyone know what is the problem and what I did wrong?
Thanks in advance for all ur help!
I am developing a windows service and starting a process(using process.start("notepad.exe")) from its onstart() method.But its not working.I don't want to tick Allow interact with desktop by user.In order to archive it i used the APIs Setproceeswindowstation(), and setthreaddesktop.But it seems not working.I can see the process in task manager but the window not appears.Anyone know what is the problem and what I did wrong?
Thanks in advance for all ur help!