How to export Overload functions from DLL?
Library that exports functions
library liba; procedure F(X: Integer); stdcall; overload; begin end; procedure F(X, Y: Integer); stdcall; overload; begin end; exports F(X: Integer) name 'F1', F(X, Y: Integer) name 'F2'; begin end.
Library that imports functions
library libb; procedure F(X: Integer); stdcall; overload; external 'liba.dll' name 'F1'; procedure F(X, Y: Integer); stdcall; overload; external 'liba.dll' name 'F2'; begin end.