FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour hb_xrealloc
Posts: 389
Joined: Mon Oct 13, 2008 11:26 AM
Re: hb_xrealloc
Posted:

Antonio, I use the fivewin 8.02 with some modifications so if "in many years" mean 2 years, it can be my trouble....

The error occurs when I call a lot of functions from DLL's in sequence, when I use a sysrefresh() or change some window/dialog property between the calls the error don't occur.

Email: SamirSSabreu@gmail.com
xHarbour 1.2.3 + Fwhh 20.2
Posts: 389
Joined: Mon Oct 13, 2008 11:26 AM
hb_xrealloc
Posted: Wed Jan 20, 2010 10:50 AM
---------------------------
Erro irrecuperĀ vel 9009:
---------------------------
hb_xrealloc nao pode realocar mem¢ria
[translation]
hb_xrealloc can't realocate the memory
[/translation]

---------------------------
OK
---------------------------
Email: SamirSSabreu@gmail.com
xHarbour 1.2.3 + Fwhh 20.2
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: hb_xrealloc
Posted: Wed Jan 20, 2010 09:22 PM

Samir,

It means that for some reason the C runtime libraries haven't been able to redimension a memory block.

I haven't seen that error in many years. Are you able to reproduce it ?

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: hb_xrealloc
Posted: Thu Jan 21, 2010 09:14 PM

Samir,

Could you provide a small and self contained example to reproduce it ? thanks

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 389
Joined: Mon Oct 13, 2008 11:26 AM
Re: hb_xrealloc
Posted: Fri Jan 22, 2010 10:42 AM
Antonio Linares wrote:Samir,

Could you provide a small and self contained example to reproduce it ? thanks



Unfortunately I can't, I've tried to recreate the error but without success. Probably a series of specific calls to memory that triggers the error.
Email: SamirSSabreu@gmail.com
xHarbour 1.2.3 + Fwhh 20.2
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: hb_xrealloc
Posted: Fri Jan 22, 2010 07:02 PM

Samir,

I was wrong, in fact we have commented several times here about hb_xrealloc() problems and the source of the problem in those cases, even some examples to reproduce it:

search.php?st=0sk=tsd=dkeywords=xrealloc

&&&

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion