From: Jimbo on
Hi

I am a semi noob to Win32 C++. Could anyone tell me what libraries/
functions are involved to...

Open Windows Media Player & make it play a movie file.

Is it possible to do this using Win32 functions? I know how to locate
the movie file & get the movie file path but not how to make c++ play
the movie file using Windows Media Player.
From: ScottMcP [MVP] on
On Jan 1, 8:42 pm, Jimbo <nill...(a)yahoo.com> wrote:
> Hi
>
> I am a semi noob to Win32 C++. Could anyone tell me what libraries/
> functions are involved to...
>
> Open Windows Media Player & make it play a movie file.
>
> Is it possible to do this using Win32 functions? I know how to locate
> the movie file & get the movie file path but not how to make c++ play
> the movie file using Windows Media Player.

ShellExecute with the "open" verb will open a file with the default
application for that type of file.

When you look up a function in MSDN there is a box on the page that
tells you which include file and lib file it needs: Check it out:

http://msdn.microsoft.com/en-us/library/bb762153(VS.85).aspx




 | 
Pages: 1
Prev: Mouse Clk Shd Show Bitmap
Next: Lame-enc DLL