views:

301

answers:

2

Is there any free media player control library that allows us to play videos in a .NET Compact Framework application?

We tried the one available at http://www.coppercoins.de/post/2008/11/03/WMP-Part-IIIa-Creating-new-Interop-Assembly-for-Mediaplayer.aspx, but having issues with memory problems and access violation errors.

A: 

Have a look at the Windows Media Player Mobile control here. That allows you to add a Windows Media Player control into your .NET CF application.

tomlog
the article points to broken links. the source code and blog referred in the article does not exists any more. Do you know any alternatives?
Gopinath
+2  A: 

Did you look at the MSDN article on ActiveX Hosting? Be aware that it has a bug in it.

ctacke
Thanks a ton. The code provided in the bug + adding a dispose method to the media player control saved me. Thanks a lot.
Gopinath