Some of you may be interested in passing this on within your organisation
Our Technical guy spent 8 hours yesterday trying to work out why our software fell over. The reason happened to be an update patch from Borland. Some or Many may not see this as a bug, but it is something to be aware of -
We use Delphi 6 and applied the Update Pack 2 RTL 2
program Demo;
{$APPTYPE CONSOLE}
uses Variants, SysUtils;
var
v1, v2: Variant;
b: Byte;
begin
v1 := Unassigned;
b := 0;
v2 := b;
if (v1 = v2) then
writeln('This code was compiled with Delphi 6 Update Pack 2 RTL 2!')
else
writeln('This code was compiled with Delphi 6 without the update.');
end.
As you can gather you get different results when compiled with different versions.
Dephi
Moderator: Tim Green