On 30 May 2014, at 11:37, mokashe.ram wrote:

> but in promgram these functions are already used in my applcation developed
> in TP7, sonow i am migration this applcation to free pascal. how can i
> replace using free pascal?

Set the global variable ReturnNilIfGrowHeapFails to true, and in all places 
where you checked whether memavail/maxavail was large enough, instead allocate 
the memory and check whether the returned pointer is different from nil.


Jonas
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to