E2396 Unsafe code only allowed in unsafe procedure (Delphi)

From RAD Studio