Hi. I try to use old code from D4 in DXE3 : mbyte: array [0..1] of char; mword: array [0..1] of char; x1: byte; Inc(i,1); StrPCopy(mbyte,copy(s,i,1)); x1 := lo(word(mbyte)); E2089 Invalid typecast here Any suggestion ?
Hi. I try to use old code from D4 in DXE3 : mbyte: array [0..1] of char; mword: array [0..1] of char; x1: byte; Inc(i,1); StrPCopy(mbyte,copy(s,i,1)); x1 := lo(word(mbyte)); E2089 Invalid typecast here Any suggestion ?