1

I had browsed internet, but hadn't found an answer.

Previously we used static linking using def file. Currently this approach is not suitable, because there are cases when dll is not accessible.

So now we need to load dynamically function with unlimited function arguments.

Is there a common approach? Just push in right direction or some topic related for that is OK.

SunFlower
  • 53
  • 5

1 Answers1

1

GetProcAddress does not care about the number of arguments the function has. If you use C++ and your problem is name mangling, you can either mark the functions with extern "C" or pass the mangled name to GetProcAddress.

StenSoft
  • 9,369
  • 25
  • 30