Sometimes, dcc32 is just plain stupid … I have this code in the OmniThreadLibrary:function TOmniThreadPool.Cancel(taskID: int64): boolean;var res: TOmniWaitableValue;begin {$IF CompilerVersion >= 22} Result := false; // not really used {$IFEND} res := TOmniWaitableValue.Create; try ...
More...