What version of Indy10 sources should I be using with Delphi 2006? error: IsDesi

Giganews Newsgroups
Subject: What version of Indy10 sources should I be using with Delphi 2006? error: IsDesi
Posted by:  Warren Postma (…@tekran.com)
Date: Mon, 09 Jan 2006

I notice that the sources for Indy10 that ship with Delphi 2006 are
somewhat crusty. They are missing the "raw" functions from IdGlobal.pas,
and so on.

So I tried to rebuild my "older" Indy10 sources that I had been using
with Delphi 2005 and Delphi 7, and the latest downloaded zip of the
sources from the INdy website, which is even OLDER.

My current problem is that I have Indy10 installed in Delphi2006 but
when I try to build my application, I get an error when compiling my
application which contains a custom-tcp-server derived component:

procedure TIdCustomTCPServer.CheckActive;
begin
  {Delphi 10 (Delphi2006) problem: E2003 Undeclared identifier:
'IsDesignTime'}
  if Active and (not IsDesignTime) and (not IsLoading)
    then begin
    raise EIdTCPServerError.Create(RSCannotPerformTaskWhileServerIsActive);
  end;
end;

Why is the IsDesignTime symbol invisible here?

Replies