I am using CreateProcess to create a cmd.exe process that is passed a parameter that it executes and quits, this makes command prompt flash up on the screen.
I trie
set the STARTF_USESHOWWINDOW in dwFlags
by sharptooth