Article View: borland.public.cppbuilder.internet.socket
Article #1129Re: Indy10 and BCB again
From: Markus Donath
Date: Wed, 23 May 2007 13:09
Date: Wed, 23 May 2007 13:09
47 lines
2029 bytes
2029 bytes
Markus Donath wrote:
> I have started a new test to compile Indy10 with BCB5. I manually
> created the package projects IndySystem50.bpk, IndyCore50.bpk and
> IndyProtocols50.bpk. The first and the second package succeeded in
> compiling but the last one failed. The problem is IdZLib.pas. This file
> makes the compiler crashing ('access violation... in module dcc50.dll').
>
> Is there a solution to solve this problem?
>
> Markus
I changed projects settings to release version instead of debug version
and now Indy10 IS COMPILED with BCB5.
But I get a runtime error when using my Pop3-client program that was now
compiled with Indy10:
void __fastcall TForm1::Button1Click(TObject *Sender)
{
try
{
Pop3->Connect();
int n = Pop3->CheckMessages();
for(int i=1; i<=n; i++)
{
TIdMessage* Msg = new TIdMessage(Pop3);
Pop3->Retrieve(i, Msg);
ShowMessage(Msg->Subject);
delete Msg;
}
Pop3->Disconnect();
}
catch(Sysutils::Exception& e)
{
Application->ShowException(&e);
}
}
If I call 'Retrieve' I get:
Assertion failed:
(C:\ProgramFiles\Borland\CBuilder5\Components\Indy10\Lib\System\IdGlobal.pas,
line 2528)
Any idea, what's wrong now?
Markus
Technical Details
Message-ID:
<5bisosF1736e7U1@mid.individual.net>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mailReferences:
<5bioqgF2se51eU1@mid.individual.net>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,9b91d2f8e1e3a182 X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Markus Donath <news@mdonath.de> Newsgroups: borland.public.cppbuilder.internet.socket Subject: Re: Indy10 and BCB again Date: Wed, 23 May 2007 15:09:40 +0200 Lines: 47 Message-ID: <5bisosF1736e7U1@mid.individual.net> References: <5bioqgF2se51eU1@mid.individual.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net C+k5HW5yhW3ZH1yKlfA0IQ00CV3t0v+gClLXfGXxZUoboP8KY= User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) In-Reply-To: <5bioqgF2se51eU1@mid.individual.net>