Compilation error Delphi 2007 and Indy10 in IdStackWindows

I just updated the Indy10 installation to the latest version (5276), and now I get an error message when trying to compile a Windows application.

IdStackWindows.pas (2364) Error: E2029 '..' expected, but ';' found

The problem appears to be an ad ka: tcp_keepaliveon line 2364 in TIdStackWindows.SetKeepAliveValues.

I am using Delphi 2007 for Windows 7 Professional x64.

+4
source share
1 answer

After further research, I found that a new TCP_KEEPALIVE.pas constant was declared in IdWinsock2.pas :

  {$EXTERNALSYM TCP_KEEPALIVE}
  TCP_KEEPALIVE         = 3;

TCP_KEEPALIVE, _tcp_keepalive. ka, TIdStackWindows.SetKeepAliveValues(), - .

IdSSLOpenSSL.pas:

[ DCC] IdSSLOpenSSL.pas(980): E2065 : 'IndySSL_CTX_use_certificate_chain_file'

IndySSL_CTX_use_certificate_chain_file() {$ELSE} {$IFDEF STRING_IS_UNICODE}, 1155, OpenSSL SSL_CTX_use_certificate_chain_file().

UPDATE:
( ) 5277 .

+5

All Articles