At a loss with Media Player

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?U3VzYW4=?=

    At a loss with Media Player

    I have a tool that uses the Windows Media Player to display certain products
    to users. It works great on my machine, but I am having great difficulty on
    one of the "product" machines. To help find the problem, I have installed VS
    2005 on the machine so that I can at least figure out what the problem is.
    When I run the tool, I get the "class not registered exception." I do ot know
    which clas, but when I open up my code, the axWindowsMediaP layer component
    cannot be found. When I try to add it to my toolbox, it never shows up. Any
    ideas? I've tried reinstalling Windows Media Player, but the downloaded
    version isn't as new as the updated verison that I have so that fails. I'm
    running Windows Server 2003 64 Bit on a 64 bit machine with Media Player 10
    for 64 Bit. I have had this work on another 64 bit machine, but it doesn't
    work on any of the others and IT has reformatted the "good' machine. Any
    ideas would be wonderful.
  • Abhishek Tripathi

    #2
    Re: At a loss with Media Player

    Just a suggestion, Why dont you distribute the dll along with the
    application ? Also, during installation register the dll so that you
    have no failure due to dll not available.

    Susan wrote:
    I have a tool that uses the Windows Media Player to display certain products
    to users. It works great on my machine, but I am having great difficulty on
    one of the "product" machines. To help find the problem, I have installed VS
    2005 on the machine so that I can at least figure out what the problem is.
    When I run the tool, I get the "class not registered exception." I do ot know
    which clas, but when I open up my code, the axWindowsMediaP layer component
    cannot be found. When I try to add it to my toolbox, it never shows up. Any
    ideas? I've tried reinstalling Windows Media Player, but the downloaded
    version isn't as new as the updated verison that I have so that fails. I'm
    running Windows Server 2003 64 Bit on a 64 bit machine with Media Player 10
    for 64 Bit. I have had this work on another 64 bit machine, but it doesn't
    work on any of the others and IT has reformatted the "good' machine. Any
    ideas would be wonderful.
    --
    "SPOON!" — The Tick's battle cry
    "Not in the face! Not in the face!" — Arthur's battle cry

    Comment

    • =?Utf-8?B?U3VzYW4=?=

      #3
      Re: At a loss with Media Player

      Actually, the problem was that I had to compile the entire program as 32 bit
      instead of just the plugins. The plugin that used Media Player was looking
      for the 64 bit version because the main application was compiled as Any CPU.

      Thank you,
      Susan

      "Abhishek Tripathi" wrote:
      Just a suggestion, Why dont you distribute the dll along with the
      application ? Also, during installation register the dll so that you
      have no failure due to dll not available.
      >
      Susan wrote:
      I have a tool that uses the Windows Media Player to display certain products
      to users. It works great on my machine, but I am having great difficulty on
      one of the "product" machines. To help find the problem, I have installed VS
      2005 on the machine so that I can at least figure out what the problem is.
      When I run the tool, I get the "class not registered exception." I do ot know
      which clas, but when I open up my code, the axWindowsMediaP layer component
      cannot be found. When I try to add it to my toolbox, it never shows up. Any
      ideas? I've tried reinstalling Windows Media Player, but the downloaded
      version isn't as new as the updated verison that I have so that fails. I'm
      running Windows Server 2003 64 Bit on a 64 bit machine with Media Player 10
      for 64 Bit. I have had this work on another 64 bit machine, but it doesn't
      work on any of the others and IT has reformatted the "good' machine. Any
      ideas would be wonderful.
      >
      --
      "SPOON!" — The Tick's battle cry
      "Not in the face! Not in the face!" — Arthur's battle cry
      >

      Comment

      • Liz

        #4
        Re: At a loss with Media Player


        "Susan" <Susan@discussi ons.microsoft.c omwrote in message
        news:0ADDC168-851D-4BEF-821B-58E09E269A99@mi crosoft.com...
        >I have a tool that uses the Windows Media Player to display certain
        >products
        to users. It works great on my machine, but I am having great difficulty
        on
        one of the "product" machines. To help find the problem, I have installed
        VS
        2005 on the machine so that I can at least figure out what the problem is.
        When I run the tool, I get the "class not registered exception." I do ot
        know
        which clas, but when I open up my code, the axWindowsMediaP layer component
        cannot be found. When I try to add it to my toolbox, it never shows up.
        Any
        ideas? I've tried reinstalling Windows Media Player, but the downloaded
        version isn't as new as the updated verison that I have so that fails. I'm
        running Windows Server 2003 64 Bit on a 64 bit machine with Media Player
        10
        for 64 Bit. I have had this work on another 64 bit machine, but it doesn't
        work on any of the others and IT has reformatted the "good' machine. Any
        ideas would be wonderful.
        are these files in your <APP>\bin\relea se directory:

        AxInterop.WMPLi b.dll
        Interop.WMPLib. dll

        ??

        if you're including them in your install on the "product machine," it's a
        bit distressing that the app won't work ....

        maybe you have to use regsvr32.exe and manually register them?? I've done
        this kind of app before and didn't have a problem but that may have been
        because the right WMP was already installed on the target ....


        Comment

        Working...