Recent

Author Topic: Does anyone use Indy under Mac OS X ?  (Read 5182 times)

sinfoni

  • Jr. Member
  • **
  • Posts: 56
Does anyone use Indy under Mac OS X ?
« on: May 12, 2010, 10:39:57 am »
This simple code is enough to crash application, lazarus and almost my Mac !
Amazing...

Code: [Select]
mni:=TMemoryStream.Create;
Form1.IdHttp1.Get('http://www.google.fr', mni);
showmessage(inttostr(mni.Size));
mni.free;
mni:=TMemoryStream.Create;
Form1.IdHttp1.Get('http://www.google.fr', mni);
showmessage(inttostr(mni.Size));
mni.free;
The first call is ok. The second call take me 5 minutes to take control of my mac book.

 

TinyPortal © 2005-2018