שתף באמצעות


Namespace AxWMPLib vs How to install wmp.dll

Question

Wednesday, November 25, 2009 7:39 AM

Hi,

I want try code from WMP SDK that use namespace AxWMPLib.

VS 2008 says that namespace AxWMPLib is wrong.

I found that i need wmp.dll for it, but i havn't found it in windows\system32 (use server 2008)

I found that wmp.dll installing with Windows Media Player. I've found link and download WMP(http://www.microsoft.com/downloads/details.aspx?FamilyID=1d224714-e238-4e45-8668-5166114010ca&displaylang=en&Hash=QRNfA%2btEoqQvkuyyw%2fdd3rih%2fWmBiyB7QoeCik%2bRVPj%2bqquyeCPY6da2imoKWkAp5V3G7HjvwMaPIvI3viQLrw%3d%3d).
But i can't install it on Server 2008. I receive the message during installation process: "There are no any updates for your system". Install stopped after that.

What should I do? Are there anather ways to install wmp.dll into VS 2008?

All replies (3)

Wednesday, November 25, 2009 8:02 AM ✅Answered | 1 vote

You have windows media player installed ?

Open project in VS, go to Project Menu | Add references | COM tab | scroll down to find Windows Media Player. use namespace WMPLib.
Thanks

My BlogMy FacebookYOUR Place to have fun time !Awesome RPG Action Game


Wednesday, November 25, 2009 8:34 AM ✅Answered | 1 vote

if you don't have wmp.dll, then download from here

on your project, right click on toolbox, choose item, COM components, Windows Media Player

or you can select your wmp.dll from browse button

then WMP components will add to your toolbox, drag n drop to your form..the rest is code..enjoy it  ;)


Thursday, December 3, 2009 5:52 PM

Thanks, my issue was resolved after i remove server and install Vista, all work fine ;)