X86 with COM Interop Compiled on x64

I have a small application that I wrote that imports both the iTunes COM and MediaMonkey COM interfaces. The application is designed and built on my x64 laptop, but works on my media PC, which is x86. It works fine on an x64 machine, but when I try to run it on an x86 media PC, it does not load. If I disable the MediaMonkey part, it works fine with iTunes, but I cannot get it to work with MediaMonkey COM turned on.

The application is compiled for the .NET framework 4.0 and as x86 specifically.

Any ideas what I can do wrong?

+4
source share
1 answer

After a lengthy discussion of the comments, here is my suggestion as a real answer:

Try reinstalling MM on the media PC using "run as administrator" to install. There is a somewhat dated discussion on the MM forums - The installer does not install the COM object properly . If the MM COM server has not been registered properly, it will not be available.

In addition, I do not know if this is suitable for this case, but FWIW - there cannot be a DLL for registration. ActiveX EXE can use the default marshaller, without the need for proxy stubs, and can be registered directly .

+3
source

All Articles