CreateProcess

i have this code

CreateProcess(nil, PChar('c:exec.exe'), nil,
nil, false, CREATE_DEFAULT_ERROR_MODE
+ NORMAL_PRIORITY_CLASS, nil, nil, startinfo,
proc_info);

this run ok, but it show a black window.

How could i hide this window?

Thank's in advance

Comments

  • : i have this code
    :
    : CreateProcess(nil, PChar('c:exec.exe'), nil,
    : nil, false, CREATE_DEFAULT_ERROR_MODE
    : + NORMAL_PRIORITY_CLASS, nil, nil, startinfo,
    : proc_info);
    :
    : this run ok, but it show a black window.
    :
    : How could i hide this window?
    :
    : Thank's in advance
    :
    :
    See the creation flags on http://msdn2.microsoft.com/en-us/library/ms684873.aspx. Make sure to read what each of them does.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion