Re: Indy 9 Problem with TIdIMAP4 component

Giganews Newsgroups
Subject: Re: Indy 9 Problem with TIdIMAP4 component
Posted by:  AndrĂ© Weber (edv-dr.hall…@t-online.de)
Date: Wed, 8 Sep 2004

Hi,

If you have the source of "IdIMap4" change the Destructor

from
-----

destructor TIdIMAP4.Destroy;
begin
    {CC2: Disconnect before we die}
{$IFDEF INDY100}
    file://Note we have to pass false to an overloaded method or
    file://an exception is raised in the destructor.  That can cause weirdness in the IDE.
    Disconnect(False);
{$ELSE}
    Disconnect;
{$ENDIF}
    FreeAndNil(FMailBox);
    inherited;
end;

to

Replies

None

In response to

Indy 9 Problem with TIdIMAP4 component posted by J Johnson on Mon, 23 Aug 2004