Re: [twsocket] error XE3 in combination with ICS v8
Ruud Kerstens wrote: > Hi Arno, > > It works like a sunshine!! > > Thanks for the quick and helpful response! You are welcome, in ICSv8 we want to support IPv6 that requires the winsock2 API. EMBT's Winsock.pas just supports old winsock1 and even the newer Winapi.Winsock2.pas doesn't support IPv6, so we had to write our own custom header translation named OverbyteIcsWinsock.pas. In ICSv8 applications you should replace any occurence of winsock.pas with OverbyteIcsWinsock.pas. -- Arno -- 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
Re: [twsocket] error XE3 in combination with ICS v8
Hi Arno, It works like a sunshine!! Thanks for the quick and helpful response! Best regards, and have a nice weekend.. Ruud Kerstens -Original Message- From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On Behalf Of Arno Garrels Sent: zaterdag 23 maart 2013 20:03 To: ICS support mailing Subject: Re: [twsocket] error XE3 in combination with ICS v8 Ruud Kerstens wrote: > > Len := Lstn.ReceiveFrom(@Buffer, SizeOf(Buffer), Src, SrcLen); This > last line gives me the error-message E2033. If Winsock is part of the uses clause replace it by OverbyteIcsWinsock. -- Arno -- 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 -- 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
Re: [twsocket] error XE3 in combination with ICS v8
Ruud Kerstens wrote: > > Len := Lstn.ReceiveFrom(@Buffer, SizeOf(Buffer), Src, SrcLen); > This last line gives me the error-message E2033. If Winsock is part of the uses clause replace it by OverbyteIcsWinsock. -- Arno -- 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
[twsocket] error XE3 in combination with ICS v8
Hi, I am getting this error in code that was working in delphi XE, with ICSv7. Now I am moving to ICSv8 with Delphi XE3. E2033 Types of actual and formal var parameters must be identical (Delphi) The code I have is: procedure TRemote.LstnDataAvailable(Sender: TObject; ErrCode: Word); var Buffer: array [0 .. 2047] of ansichar; Len: integer; Src: TSockAddrIn; SrcLen: integer; s,t: string; i: integer; begin SrcLen := SizeOf(Src); Len := Lstn.ReceiveFrom(@Buffer, SizeOf(Buffer), Src, SrcLen); This last line gives me the error-message E2033. Anybody an idea what causes this problem? It works fine in Delphi XE with ICSv7 Best regards, Ruud -- 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