Reference to wmp.dll (\windows\system32\wmp.dll)

san picture san · Oct 30, 2009 · Viewed 10.9k times · Source

Can I use a reference to wmpLib.ddl / wmp.dll (\windows\system32\wmp.dll) in a commercial application?

I am using Visual Studio 2008 Express edition. I have to deliver that DLL.

Answer

Thorsten Dittmar picture Thorsten Dittmar · Oct 30, 2009

To add to Darins reply: I don't think that you can simply deploy wmp.dll with your product (I'm guessing you're thinking about doing that from the last sentence "I have to deliver that dll.")!

You will have to create an installer that checks whether the correct version of the DLL is present on the target system and have the user install the correct version of Windows Media Player in case it is not there.