Topic: Using "with...do" causing Stack overflow in main script
V6.20
In all other subunits (uses ...) there is no error.
e.g. TImageList -> error
with imgList16 do
begin
Masked :=false;
ColorDepth:=cd32bit;
...
end;
e.g. with TForm -> ok.
with frmMain do
begin
width :=100;
height:=100;
...
end;