Ax ...

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I just inherited a project that uses a AxMediaPlayer control. The project
was building fine on the developer's computer, and I no longer have access to
that computer or the developer.

When I try to build the project on my computer, I get the following errors:
'AxMediaPlayer' cound not be found (are you missing a ...)
'AxWMPLib' could not be found (are you missing a ...)

The file AxInterop.MediaPlayer.dll existed in his release and debug
directories. If I add a reference to that file, the project will build fine.
However, I don't think that this is the right way to do it.

In VS 2003, I've tried adding a reference to the Windows Media Player
"msdxm.ocx" (and all of the other Windows media COM controls), but it still
fails to build with these errors.

I've also tried downloading every Windows Media SDK I could get my hands on
but there are no files in there that seem to have the
AxInterop.MediaPlayer.dll assembly.

Does anybody know what reference I should truly add to get this to work, or
of a way to generate the AxInterop.MediaPlayer.dll using aximp?

Thanks,
-- Jim
 
Thanks Steve,

I was hoping to avoid having to upgrade to the new AxWindowsMediaPlayer COM
library. Basically, I want to baseline the code to exactly what I received.
I saw the post earlier too that you reference. I'm going to try it on an XP
RTM dev box and see if that helps. I'll report back if it works.

Thanks,
-- Jim
 
Well, it appears that this was exactly the problem. After loading up XP RTM
(which comes with media player 8.00.00.4477), it built fine. I will
probably just start using the new AxWindowsMediaPlayer COM library like
Steve suggested, but does anybody know the "correct" way to use the old
AxMediaPlayer COM library on an XP SP2 box after media player has been
upgraded? I tried all of the old media player SDK's and there doesn't
appear to be a way to reference the old library without coming up with some
kind of hack.

Thanks again,
-- Jim
 
Back
Top