Delphi Error – X1028 Bad global symbol definition ‘%s’ in object file ‘%s’

Delphi Compiler Error

X1028 Bad global symbol definition ‘%s’ in object file ‘%s’

Reason for the Error & Solution

This warning is given when an object file linked in with a $L or $LINK directive contains a definition for a symbol that was not declared in Delphi as an external procedure, but as something else (e.g. a variable).

The definition in the object will be ignored in this case.