.net - Silverlight COM path issues -


I am currently using some CD DLL with Silverlight and I am facing a strange problem. I had used two .NET COM DLLs that I had created, through the DllImport, the reference to the other DLL was given. They were working fine

Then I added a third CD DLL for the project. It also refers to other DLLs through a DllImport. As soon as I make it another two breaks, they are saying that they are using other DLLs, they are not able to find. Third DLL works fine

This is how I am making them

  AutomationFactory.CreateObject ("Com1"); AutomationFactory.CreateObject ("COM2"); AutomationFactory.CreateObject ("COM3");   

If I just use COM1 and COM 2 then they work perfectly well. If I add COM 3 then it works fine, but the other two can not find their native DLS.

I do not call any function on COM3, just create it and stop others from working. > Any thoughts? Do you think that this original Dell can be somehow? I do not understand how the third works, but others do not think, you think they all stop working if this country was breaking anything.

Post text "itemprop =" text ">

I found out one way to do this, I still do not believe 100% why it should be done.

If I use the Directory SetCurrentDirectory to set the current directory in the directory with the native directory.

It does not seem that the Com 3 directory is changing, but somebody Due to the reason, it may lead to the current work of DLL Instead of Ika is causing due to look at the place where they were registered.

Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -