I found that the PrintPreview Component raise a runtime error if you compile it with the range checking option.
Try to compile the General Demo project and move the scroll bar.
Is it dangerous for my application?
Johnny_Bit wrote:Range Checking is only for debuging matters, it slows down whole application. If you're writing good code, range checking could be allways off.
This is dangerous if your application is more than tinny and yo're trying to run it on slow computer (e.g. lest than 333MHz)
type
PByteArray = ^TByteArray;
TByteArray = array[0..0] of Byte;
var
pba: PByteArray;
I: Integer;
begin
GetMem(pba, 100);
try
for I := 0 to 99 do
pba[I] := I;
// The rest of code
finally
FreeMem(pba);
end;
end.
Return to DELPHI AREA Projects
Users browsing this forum: Bing [Bot] and 29 guests