Ian Branch 128 Posted June 28, 2021 Just downloaded Indy 10 rev 3902. D10.4.2, Win 10. When building my project I get an error in IdIOHandler.. function TIdIOHandler.ReadInt16(AConvert: Boolean = True): Int16; begin EnsureInputBytes(Self, SizeOf(Int16)); << Error here.. Result := Int16(InputBuffer.ExtractToUInt16(-1, AConvert)); end; The error is.. "[dcc32 Error] IdIOHandler.pas(1285): E2010 Incompatible types: 'Integer' and 'TIdIOHandler'" Regards, Ian Share this post Link to post
Remy Lebeau 1436 Posted June 28, 2021 (edited) 29 minutes ago, Ian Branch said: The error is.. "[dcc32 Error] IdIOHandler.pas(1285): E2010 Incompatible types: 'Integer' and 'TIdIOHandler'" Fixed Edited June 28, 2021 by Remy Lebeau Share this post Link to post