What I need is a dll for playing WMA songs. Also, must play copy protected songs (assuming a person has the rights to it). Can be based on the Windows Media Player. Need the following methods/properties 1. Play (position) the position is where it will start at. the position is a default paramter. If not filled out or less than 0, then would start at the beginning of the song. otherwise, will play at the second sent in 2. stop 3. pause/resume (if the pause is used twice, then resume) 4. artist 5. album 6. song 7. duration a public property would be path need one event called SongEnded another event needed is progress. The progress should have two parameters (the first one is how long into the song and the other is the length). Need to be in format mm:ss. So if its 200 seconds in the song, then 03:20 would be returned. the event should be raised every second and also when the song first plays as well. once the song is finished, then it should raise the event so code can be ran at the end of the song. When the song is finished, then it should close out of the file automatically. If stop is used, then it also should close out of the file. The purpose of this is so I can create my own music player and be able to play copy protected songs also (the ones I purchased or rented via legal music services). The enclosed source code was using the Microsoft Windows Media SDK. One possibility is to use the Windows Media OCX. However, it does not work with copy protected songs. I either need the existing dll modified or it needs to use different technolodgy. Cannot break the copy protection to play it either (for songs purchased or rented legally). This must be an object, not a control (for the final results) and be COM enabled and be able to use with Visual Basic 6.0.
The compiled dll and the source code for the work completed.
Windows XP Home Edition.