Delphi Error – E2397 Unsafe pointer only allowed if compiling with {$UNSAFECODE ON}

Delphi Compiler Error

E2397 Unsafe pointer only allowed if compiling with {$UNSAFECODE ON}

Reason for the Error & Solution

No further information is available for this error or warning.