|
Posted by goacross on September 20, 2007, 6:14 am
Please log in for more thread options wrote:
> If all you want to do is run Media Player, then use the CreateProcess method
> passing in \Windows\wmplayer.exe as the exe name. You can also pass in
> command line parameters to run a particular media file.
>
> Regards,
> Rick D.
> Contractor
>
> "goacr...@gmail.com" wrote:
> > e.g, I wanna to run meday player inside my program.
> > thanks
It works well. I thought CreateProcess could only create console
process.
Thanks :)
For other guys might do the same thing,
be carefull when pass command line arguments when the full path of
music file contains BLANKSPACES.
e.g, the path is \storage card\music\music file.mp3
you have to pass exactly
"\"\storage card\music\music file.mp3\""
|