title: ShellExecute not working c++
body: <p>I'm trying to use ShellExecute but it just doesn't want to work. I tried a lot of stuff from other forums but i haven't find a suitable solution as i dont want to use System()!</p>
  
  <p>Here is the part of my code :</p>
  
  <pre><code>void myClass::executeWMP()
  {
      ShellExecute(???);
      cout &lt;&lt; "\n";
  }
  </code></pre>
  
  <p>For the beginning i want to execute the Windows Media Player from the Path :</p>
  
  <p>"C:\Program Files (x86)\Windows Media Player\wmplayer.exe"</p>
  
  <p>And then could someone please explain the parameters of the function?</p>
  
  <p>*I use Windows 7</p>