Relative Content

Tag Archive for delphioverloading

How to Overload a Function in a DLL using Delphi

I have written a DLL with a bunch of different procedures and functions using Delphi. There is one function within this DLL that I want to overload, but as soon as I do, I get a host of errors on all the exports statements “E2191 EXPORTS allowed only at the global scope” The function I’m trying to overload is not part of any class. Here are the function declarations and code: