Re: TIdLogEvent OnReceive and OnSend in 3/22 Snapshot

Giganews Newsgroups
Subject: Re: TIdLogEvent OnReceive and OnSend in 3/22 Snapshot
Posted by:  Remy Lebeau (TeamB) (no.spam@no.spam.com)
Date: Wed, 5 Apr 2006

"Jon Robertson" <jonrobertson@medevolve.dontspamme.com> wrote in message
news:8D0F3D8D8DF3E240jonrobertson@medevolve.dontspamme.com...

> 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.

Gambit

Replies

In response to

TIdLogEvent OnReceive and OnSend in 3/22 Snapshot posted by Jon Robertson on Wed, 5 Apr 2006