Click here to get back home

How to spawn a gui process

 HomeNewsGroups | Search | About
 microsoft.public.smartphone.developer    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
How to spawn a gui process goacross 09-19-2007
Posted by goacross on September 19, 2007, 9:32 am
Please log in for more thread options
e.g, I wanna to run meday player inside my program.
thanks


Posted by dbgrick on September 19, 2007, 10:06 am
Please log in for more thread options
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

"goacross@gmail.com" wrote:

> e.g, I wanna to run meday player inside my program.
> thanks
>
>

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\""



Similar ThreadsPosted
kill process October 25, 2005, 5:41 pm
Background process June 9, 2007, 1:09 am
automate the signing process? June 1, 2005, 11:45 pm
Get Process List of SmartPhone June 11, 2005, 9:06 am
Load DLL to outside of process slot 0 December 16, 2005, 12:35 pm
problem with kill process March 9, 2007, 12:16 am
How do I get the icon of a window or process December 25, 2007, 9:14 am
Background process capturing events September 12, 2005, 3:15 pm
processId of process accessing a file February 10, 2006, 8:10 pm
Process list and GPRS accesspoint August 30, 2006, 5:27 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap