Dll Import Problem in loading two c++ assemblies with same name
-
Hi, I have a C#.net application. I have two C++ dlls with same name (but different version numbers that i see in the dll). When I use Dll Import to invoke methods on each dll separately in two different applications, all the methods in both the c++ dlls work fine. But if i tend to use dll import and invoke the functions in the two dlls, the first dll's methods are executing fine but when the second dll's methods are invoked, there is an error stating "cannot load the second dll. method not found". I wonder if it is something to do with loading two same named dlls in the same memory of an exe... Please help in identifying the cause and kindly clarify my doubt. Many Thanks.
-
Hi, I have a C#.net application. I have two C++ dlls with same name (but different version numbers that i see in the dll). When I use Dll Import to invoke methods on each dll separately in two different applications, all the methods in both the c++ dlls work fine. But if i tend to use dll import and invoke the functions in the two dlls, the first dll's methods are executing fine but when the second dll's methods are invoked, there is an error stating "cannot load the second dll. method not found". I wonder if it is something to do with loading two same named dlls in the same memory of an exe... Please help in identifying the cause and kindly clarify my doubt. Many Thanks.
-
I am dealing with something related to .NET and C# and wonder about your comment. Hope you are clear in understanding my problem.
-
I am dealing with something related to .NET and C# and wonder about your comment. Hope you are clear in understanding my problem.
By cross posting you minimize your chances of getting relevant help, partly because you annoy other people, partly because you don't use the message boards in the best way. If you feel that you have to draw attention to the question from different message boards, post the question in the most relevant board, and post links to the question in the other boards. That way you get the replies in a single thread, and people can see what other have replied so that they can cooperate in helping you.
--- b { font-weight: normal; }