> I am working on a project that was originally written in D5. And 
> the project using a free IRC component, SlyIrc by Steve Williams, 
> were it has used TWSocket v434 for its wsocket needs. 
> So, once I 
> edit this line to correctly use the FWSocket I now get the 
> following  hard error:
> [dcc32.Error] SlyIrc.pas(741): E2003 Undeclared identifier: 
> 'LocalHostName'
> The new error is with the same line of code as the previous error, 
> here is that specific line causing the error:
> Send(Format('USER %s %s %s :%s', [FUsername, 
> FWSocket.LocalHostName, FHost, FRealName]));

Just remove FWSocket. and it will compile, at least after you also remove the
line with SlyIrcEx in the dpr since this is missing from the project.   

Can not tell you if it actually works since I've managed to avoid IRC for any
entire professional life.


To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to