
Originally Posted by
IceFire908
It's the function result.
S := GetTextAtEx(....);
So this is what I have so far.
SCAR Code:
program New;
Var
FONT:integer;
TYPE1:string;
begin
FONT := LoadCharsFromFont2('Courier New', 8, False, False, False, False);
Writeln('waiting');
Wait(2000);
TYPE1 := GetTextAtEx(200,120,130,FONT,False,False,0,0,-1,50,False,tr_AllChars);
Writeln(TYPE1);
end.
and this is the error I am getting
Code:
Successfully compiled (81 ms)
[Runtime Error] : Exception: Access violation at address 007877A7 in module 'scar.exe'. Read of address 00000000 in line 8 in script C:\Desktop\Text ID.scar