Access Violation

Giganews Newsgroups
Subject: Access Violation
Posted by:  Joel (nowhe…@nowhere.com)
Date: Thu, 30 Dec 2004

Using D7 Indy 10

I am getting an Access Violation when I add a TIdServerInterceptLogFile to
my ftpserver.

function TIdServerInterceptLogFileConnection.GetConnectionID:string;
begin

//it eventually gives an access violation right here.

  Result:=

TIdIOHandlerSocket(TIdTCPConnection(FConnection).IOHandler).Binding.peerIP+
':' +

IntToStr(TIdIOHandlerSocket(TIdTCPConnection(FConnection).IOHandler).Binding
.peerPort);
end;

Any Ideas?

Thanks

Joel

Replies