Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Indy 10: Undeclared Identifier 'TIdBytes'

Sorry if my question is silly!

I'm using Delphi XE4 and now I'm working on IdTelnet. But I got a problem with OnDataAvailable event. Take a look at this picture:

enter image description here

So I cannot work with OnDataAvailable Event.

Is this because of Delphi XE4? And How can I fix it?

Thanks

like image 994
Sky Avatar asked Aug 27 '13 11:08

Sky


1 Answers

The TIdBytes type is declared in the IdGlobal unit. Add that unit to your uses clause.

like image 90
David Heffernan Avatar answered Nov 06 '22 08:11

David Heffernan