Alexandre Julliard julliard at
Wed Mar 9 13:26:54 CST 2005

Marcus Meissner <marcus at> writes:

> resubmit ... forgot to allocate space for \0 i suspect.
> Ciao, Marcus
> Changelog:
> 	LB_GETTEXT, CB_GETLBTEXT mapper switched to dynamic allocation.
> 	Added testcase.

I don't think you want to send extra messages in the winproc
code. Besides it doesn't guarantee that the buffer is large enough
anyway since another thread may have changed the string in the
meantime. I'd suggest simply allocating a buffer large enough for your

Alexandre Julliard
julliard at

More information about the wine-devel mailing list