Why is another program started by my Windows service program not displayed? Delphi/Windows SDK/API
Http://www.delphi2007.net/DelphiAPI/html/delphi_20061109155837266.html
I made a simple service Program(Errorserverity item is set to: essevere), use it to start another program. Originally, another program can be started in Xi'an, but after I re-compile it, the program I started is not displayed, and my original settings have not changed. Why!
Up
1. Which API is used to start and run other processes?
2. Use the task manager to check whether the "other program" is in the Process list. If it is not in the process list, of course, it will not be displayed.
My shellexecute(0, 'open', 'test.exe ', '','', sw_shownormal );
I directly compiled the previous source program, but it is not displayed now. The previous compilation shows that both processes exist in the process list.