Delphi Error – E2426 Inline function must not have asm block

Delphi Compiler Error

E2426 Inline function must not have asm block

Reason for the Error & Solution

Inline functions can not include an asm block. To avoid this error, remove the inline directive from your function or use Pascal code to express the statements in the asm block.

See Also