简体   繁体   中英

Is it possible to launch command line application without displaying its window?

I have an command line application that has wmain() entry point. And I launch it from another app using ShellExecuteEx function. If I set shellExecuteInfo.nShow = SW_HIDE it still pops out. Is it somehow possible to not show it at all?

使用CreateProcess并传递CREATE_NO_WINDOW标志。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM