-1

If I have a.dll and b.dll, both of them have exactly same function names. for example, foo(), bar() from a.dll and foo(), bar() from b.dll. Will the later loaded one override/replace the former loaded one?

user2706071
  • 196
  • 9

1 Answers1

1

Both dll's can be loaded with loadlibrary (even if one is a copy of the other in a different directory). Nothing will override anything ,since in order to call a function from either one you need to use the GetProcAddress routine.

engf-010
  • 3,980
  • 1
  • 14
  • 25