indy9 accessviolation imap

Giganews Newsgroups
Subject: indy9 accessviolation imap
Posted by:  jb (…@jb.net)
Date: Tue, 25 Apr 2006

hy all,
i'he a problem with the posidx function when i try to use

IdIMAP4.RetrieveHeader()
for some message  the posidx get an access violation.

if I change posidx with the posex it work fine.

function  PosIdx (const ASubStr,AStr: AnsiString; AStartPos: Cardinal):
Cardinal;
Begin
  Result := posex(..,..,..)
end;

it's corrected?

thanks all

Replies