Arnas Ambrasas Arnas Ambrasas - 1 year ago 74
C++ Question

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

I have an command line application that has

entry point. And I launch it from another app using
function. If I set
shellExecuteInfo.nShow = SW_HIDE
it still pops out. Is it somehow possible to not show it at all?

Answer Source

Use CreateProcess and pass the CREATE_NO_WINDOW flag.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download