The Delphi Geek – Yesterday a colleague informed me that he added a workaround for a VCL bug (which we confirmed to exist in XE2, XE4 and XE5) to our codebase and asked me if I could “inform the authorities”, i.e. enter it into QualityCentral. Imagine my surprise when I not only found the bug already entered but marked as fixed! The problematic code is posted below, problem marked with a yellow color as it is hard to spot.function TStreamAdapter.Seek(dlibMove: Largeint; dwOrigin: Longint; out libNewPosition: Largeint): HResult;var NewPos: LargeInt;begin try if (dwOrigin < STREAM_SEEK_SET) or (dwOrigin ...
Visits by Source
Users who voted for this posting
Edwin | Dev of LIVEditor