Weren't these lines also added for starting from the command line?

```
    si.dwFlags = STARTF_USESHOWWINDOW;
    si.wShowWindow = SW_HIDE;
```

If so, do you still want them?