Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

(C++/Win32) Open a Movie file in Specific Application

0 views
Skip to first unread message

Jimbo

unread,
Jan 1, 2010, 8:42:52 PM1/1/10
to
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.

ScottMcP [MVP]

unread,
Jan 2, 2010, 12:05:14 AM1/2/10
to

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


0 new messages