How to play wmv file in mobile 5.0?

R

RedHair

Hi,

I'm trying to develop a mobile 5.0 device app via VS 2005 + C# and Mobile
5.0 SDK,
this app needs to display different wmv files based on different event,
however the
System.Media class is not able to be referenced to Mobile 5.0 project.
How to play wmv within this environment?
 
V

Vadym Stetsyak

Hello, RedHair!

R> Hi,

R> I'm trying to develop a mobile 5.0 device app via VS 2005 + C# and
R> Mobile 5.0 SDK,
R> this app needs to display different wmv files based on different event,
R> however the
R> System.Media class is not able to be referenced to Mobile 5.0 project.
R> How to play wmv within this environment?

You can P/Invoke on ShellExecute ( Coredll.dll ).
Win32 equivalent is like this
ShellExecute (NULL, "open", "path to wmv", NULL, NULL, SW_SHOWNORMAL);

--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top