Silverlight COM path issues
===

I am currently using some COM dlls with Silverlight and I am experiencing a strange issue. I had two .NET COM dlls in use that I created, both of which reference other dlls through DllImport. They were working just fine.

Then I added a third COM dll to the project. This one also references other dlls through DllImport. As soon as I create it the other two break. They throw errors saying that the other dlls they are using cannot be found. The third dll works fine however. 

This is how I'm creating them

    AutomationFactory.CreateObject("Com1");
    AutomationFactory.CreateObject("Com2");
    AutomationFactory.CreateObject("Com3");

Again if I just use Com1 and Com2 they work perfectly fine. If I add Com3 it works fine but the other two cannot find their native dlls.

I don't even call any functions on Com3, just create it and the others stop working.

Any ideas? Do you think it could be the native dll somehow? I don't understand how the third one works but the others don't, you would think they would all stop working if it was the native dll breaking something.

