S
steelg
Unregistered / Unconfirmed
GUEST, unregistred user!
外部程序的窗口是可以隐藏,但任务栏上会显示所调用的外部程序的图标,设置哪个参数能使任务栏的图标也隐藏起来?<br><br>相关代码见下:<br> lpStartupInfo.dwFlags := STARTF_USESHOWWINDOW;<br> lpStartupInfo.wShowWindow := SW_HIDE;<br> setcurrentdir(dpath);<br> bCreateProcess := CreateProcess(nil,PChar('cmd /c "tecplot -b -p onedimensionmacro.mcr"'),nil,nil,True,HIGH_PRIORITY_CLASS, nil,nil,lpStartupInfo, lpProcessInformation);<br> if bCreateProcess then<br> WaitForSingleObject(lpProcessInformation.hProcess,INFINITE);<br><br>只有47分了,全部送出