Anuj Kansal
Anuj Kansal

Reputation: 1

load two dll with same name in one project C++

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.

Upvotes: 0

Views: 454

Answers (1)

Vinay Shukla
Vinay Shukla

Reputation: 1844

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

Implicit way

Docs

Upvotes: 1

Related Questions