Delphi Error – E2468 Linker detected duplicate name ‘%s’ made from type ‘%s’ in both unit ‘%s’ and ‘%s’

Delphi Compiler Error

E2468 Linker detected duplicate name ‘%s’ made from type ‘%s’ in both unit ‘%s’ and ‘%s’

Reason for the Error & Solution

This occurs when there is an ambiguity in two units regarding a named variable. The variable is of the same type in both units.