Thursday, 18 June 2020
  2 Replies
  1.4K Visits
  Subscribe
Hi,
I am trying to install the latest version of sgcWebSockets (Beta) with the custom Indy on Lazarus and it is giving me the error:
sgcTCP_Client.pas(401,29) Error: function header doesn't match any method of this class "AddBytes(const TBytes);"

Could it be that the Lazarus version is not updated yet to use Indy 10.6.2?

In the documentation states "Tested with Lazarus 1.6.4 and Indy 10.5.9.4930"
https://www.esegece.com/help/sgcWebSockets/#t=Overview%2FInstallation.htm&rhsearch=lazarus&rhhlterm=lazarus&rhsyns=%20

I am installing on Lazarus 2.0.8 and FPC 3.2.0

Thank you