I need to load two dll in one project. Two dll have same name. The implementation inside the dll is different. I have two classes in my project. One class consume one dll and other class consume other dll. and both class are used in sequence in project.
Asked
Active
Viewed 448 times
0
-
why can't you rename the dlls? – EdChum Jan 12 '16 at 11:04
-
And what does that mean "I need to load both the dll same time" ? – VP. Jan 12 '16 at 11:04
-
3Possible duplicate of [Could we have 2 DLLs with the same name being loaded in one process](http://stackoverflow.com/questions/1341010/could-we-have-2-dlls-with-the-same-name-being-loaded-in-one-process) – Hemant Gangwar Jan 12 '16 at 11:07
-
@EdChum Those are third party DLL. – Anuj Kansal Jan 12 '16 at 12:11
1 Answers
1
It is obvious if you are having two dll with same name they are at different locations. So you can configure the lpFileName
to include the path.
Besides you can also have different version number to create a differentiation between the 2 dll.
For more information you can visit following links

Vinay Shukla
- 1,818
- 13
- 41