At a loss with Media Player

G

Guest

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 axWindowsMediaPlayer 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.
 
A

Abhishek Tripathi

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.
 
S

Susan

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
 
L

Liz

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 axWindowsMediaPlayer 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\release directory:

AxInterop.WMPLib.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 ....
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top