title: CreateProcess won't start the proccess with arguments
body: <p>So I used this code in order to start a console application with arguments:</p>
  
  <pre><code>#include &lt;iostream&gt;
  #include &lt;windows.h&gt;
  
  using namespace std;
  
  void StartProgram(char argv[])
  {
      STARTUPINFO si;
      PROCESS_INFORMATION pi;
  
      ZeroMemory(&amp;si, sizeof(si));
      si.cb = sizeof(si);
      ZeroMemory(&amp;pi, sizeof(pi));
  
      CreateProcess
      (
          TEXT("PlayerDebug.exe"),
          (LPSTR)argv,
          NULL,NULL,FALSE,
          CREATE_NEW_PROCESS_GROUP | CREATE_NO_WINDOW,
          NULL,NULL,
          &amp;si, &amp;pi
      );
  };
  
  int main()
  {
      StartProgram("sound.wav");
      return 0;
  }
  </code></pre>
  
  <p>"PlayerDebug.exe" display the arguments used to call it. But when I run it with CreateProcess the way I showed, it doesen't display anything. I checked and in Task Manager it seems to appear, but still does not display the arguments. I also tried to write <code>cout &lt;&lt; argv;</code> in function <code>void StartProgram(char argv[])</code> and it returned "<code>sound.wav</code>", which is correct. But it seems the argument is not passed to PlayerDebug.exe and I don't know why.
  What I did wrong?
  (I'm new at C++ programming)</p>