Thank you for clarifying as I was wondering what would have been the reason to implement it the way you did.
Indy loads DLL functions on-demand. This technique was implemented in Indy long before Delphi introduced its native
delay-load feature in D2010. FreePascal still does not have that kind of feature (yet?), and Indy
doesn't take advantage of it yet.