|Subject:||Re: TIdLogEvent OnReceive and OnSend in 3/22 Snapshot|
|Posted by:||Remy Lebeau (TeamB) (firstname.lastname@example.org)|
|Date:||Wed, 5 Apr 2006|
"Jon Robertson" <email@example.com> wrote in message
> I just added a TIdLogEvent intercept to my project. When I create
> event handlers for OnReceive and OnSend, I get an error because
> TBytes is undeclared. Adding IdGlobal to the interface uses clause
> fixes the error.
This is a Delphi bug, not an Indy bug. Delphi does not automatically
include the necessary dependant units when generating event handlers.
TIdLogEvent OnReceive and OnSend in 3/22 Snapshot posted by Jon Robertson on Wed, 5 Apr 2006