Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Oct : Re: Which packages to use for Indy10 in Rad Studio 2007

www.cryer.info
Managed Newsgroup Archive

Re: Which packages to use for Indy10 in Rad Studio 2007

Subject:Re: Which packages to use for Indy10 in Rad Studio 2007
Posted by:"Remy Lebeau (TeamB)" (no.spam@no.spam.com)
Date:Tue, 9 Oct 2007 02:20:01

"Dennis Passmore" <somewhere@someplace.com> wrote in message
news:8selg3p3ru8he68gednmlftt2kksdb8q03@4ax.com...

> The declaration is clearly defined as

That is for Unix, not for Win32.  The Win32 code also tries to use
TThreadID:

  {$IFDEF WIN32_OR_WIN64_OR_WINCE}
  TIdPID = LongWord;
  TIdThreadId = TThreadID; // <--
  TIdThreadPriority = TThreadPriority;
  {$ENDIF}

However, TThreadID does not exist in Win32, hense the error.  Which is why I
said to change it back to LongWord, which is what it was declared in
previous releases:

  {$IFDEF WIN32_OR_WIN64_OR_WINCE}
  TIdPID = LongWord;
  TIdThreadId = LongWord; // <--
  TIdThreadPriority = TThreadPriority;
  {$ENDIF}


Gambit

Replies:

none

In response to:

www.cryer.info
Managed Newsgroup Archive