king vash
2008-02-29 21:31:02
[Runtime Error] : Exception: Can't create compatible DC in line 135 in script CrafterMaster.98e
line 135 is a arealoading procedure (the result line)
I also have a question about freeing resources. if it's called in a procedure \ function won't it be automatically freed at the end of that procedure?
line 135 is a arealoading procedure (the result line)
function AreaLoading:boolean;
var loadingscreen:integer;
begin
loadingscreen := BitmapFromString(47, 4, 'beNr7/x8IGJAAGpds' +
'ADeHJAOJccx/GCAoiF8cLotLPUHHIItg9S9+BcgMPLK43EmMY5B9h' +
'N+FRMqC2AA/tJVr');
Result:= FindBitmapin(loadingscreen, x, y, 6, 14, 53, 18);
end;I also have a question about freeing resources. if it's called in a procedure \ function won't it be automatically freed at the end of that procedure?