"itmanager" <it*******@discussions.microsoft.com> wrote in message
news:FB**********************************@microsof t.com...
Is there a way, using the CreateProcess/CreateProcessAsUser api's to
launch
an application with it windows hidden upon startup?
What kind of application?
Windowed applications create their own windows. They are free to accept or
reject the fourth parameter passed to WinMain() which is the show state
which the "parent" specified.
Console applications have windows which are created by Win32 itself. You can
use the CREATE_NO_WINDOW or the DETACHED_PROCESS flag so that the console is
not initially shown.
Regards,
Will