On Thu, 22 Oct 2009, Szak�ts Viktor wrote:

Hi,

> >The problem is only in Windows builds and it's caused by moving to
> >UNICODE API - it breaks  dynamic FM stat module initialization.
> >We added hb_getenv_buffer() to avoid memory allocation and now
> >it makes memory allocation so FM module GPF at startup.
> Thank you, that explains. Maybe it'd be time to remove this
> envvar trick for fm stat logging. At least I don't have any
> better idea.

I modified hb_getenv_buffer() in UNICODE builds to work with static
buffers if they are large enough and it resolved the problem with
FM stat module. I also fixed memory leak in non UNICODE builds.
I'll commit it later.
We have this function only for FM stat module so if we do not plan
to use it then we can simply remove it.

best regards,
Przemek
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to