Newsgroups : Borland : borland.public.delphi.internet.winsock : 2008 Jul : Moving to D20077 from D7 cant compile

www.cryer.info
Managed Newsgroup Archive

Moving to D20077 from D7 cant compile

Subject:Moving to D20077 from D7 cant compile
Posted by:"Del Murray" (del.murr..@credithawk.net)
Date:Wed, 23 Jul 2008 13:14:40

Hi all

I'm sure it is a simple thing but I'm stuck. Why wont this compile under
D2007 ???

if (msg.messageparts.items[i]) is TIdAttachment then begin

Compiler says TIdAttachment is undeclared identifier, so is TIdText.


this is the uses clause.

uses
  Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms,
  Dialogs, StdCtrls, DB, ADODB, IdMessage, IdComponent,
  IdTCPConnection, IdTCPClient, IdMessageClient, IdPOP3, IdBaseComponent,
  IdAntiFreezeBase, IdAntiFreeze, ComCtrls, IdExplicitTLSClientServerBase;

What did I leave out ???

TIA,
Del

Replies:

www.cryer.info
Managed Newsgroup Archive