Ok, I tried to rename and what's even stranger is no unit compile 
complained!

For instance, Sendto:

function WSocket_Synchronized_sendto(
    s          : TSocket;
    const Buf  : TWSocketData;
    len, flags : Integer;
    var addrto : TSockAddr;
    tolen      : Integer): Integer;
begin
    if @FSendTo = nil then
        @FSendTo := WSocketGetProc('sendto');
    Result := FSendTo(s, Buf^, len, flags, addrto, tolen);
end;

The definitions in ics winsock.pas are NEVER used! Anyway, they are not the 
cause of the problem...

Regards,

SZ

----- Original Message ----- 
From: "Fastream Technologies" <[EMAIL PROTECTED]>
To: "ICS support mailing" <twsocket@elists.org>
Sent: Wednesday, June 27, 2007 2:49 PM
Subject: Re: [twsocket] New ICS-V6andICS-SSL-V6 
availableBCBCOMPATIBILITYWARNING


>I wonder how would Delphi guys evaluate the correctness of the below in 
>IcsWinsock.pas:
>
> implementation
>
> const
> ...
>
> function send; external;
> [DllImport(winsocket, SetLastError = False, EntryPoint = 'sendto')]
> function sendto; external;
> [DllImport(winsocket, SetLastError = False, EntryPoint = 'recv')]
>
> In what namespace are these defined? And what would the impact be when the 
> namespaces are flattened by BCB? I think it would b e easier if we simply 
> make them:
>
> function sendWSock; external;
> [DllImport(winsocket, SetLastError = False, EntryPoint = 'sendto')]
> function sendtoWSock; external;
> [DllImport(winsocket, SetLastError = False, EntryPoint = 'recv')]
>
> and rename in the code calling instead of trying to modify all function 
> calls to WSocket.Send()!
>
> Any objection or idea?
>
> Regards,
>
> SZ
>
> ----- Original Message ----- 
> From: "Bjørnar Nielsen" <[EMAIL PROTECTED]>
> To: "'ICS support mailing'" <twsocket@elists.org>
> Sent: Tuesday, June 26, 2007 9:46 PM
> Subject: Re: [twsocket] New ICS-V6andICS-SSL-V6 
> availableBCBCOMPATIBILITYWARNING
> 

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

Reply via email to