Del Murray
2008-07-23 18:14:40 UTC
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
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