Bjørnar Nielsen wrote:
>> From latest snapshot, V7 with SSL, I get this error:
> [DCC Error] OverbyteIcsSmtpProt.pas(1665): E2003 Undeclared
> identifier: 'SafeWSocketGCount' 
> FWSocket.Name            := ClassName + '_Socket' +
> IntToStr(SafeWSocketGCount); 
> 
> SafeWSocketGCount is defined like this:
> {$IFNDEF NO_ADV_MT}
> function SafeWSocketGCount : Integer;
> {$ENDIF}
> 
> Is the best fix to set the name on the socket only when NO_ADV_MT is
> not defined? 

Just fixed it to:

{$IFDEF NO_ADV_MT}
    FWSocket.Name            := ClassName + '_Socket' + IntToStr(WSocketGCount);
{$ELSE}
    FWSocket.Name            := ClassName + '_Socket' + 
IntToStr(SafeWSocketGCount);
{$ENDIF}

The same bug is in the HTTP server.
http://svn.overbyte.be:8443/svn/ics/branches/icsv7/Delphi/Vc32/OverbyteIcsHttpSrv.pas
http://svn.overbyte.be:8443/svn/ics/branches/icsv7/Delphi/Vc32/OverbyteIcsSmtpProt.pas

--
Arno Garrels 
--
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