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.
Thanks, I'd be grateful if you could take a look at other
similarly converted function calls, as they may also have
similar leaks.
Brgds,
Viktor
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour