RESUBMIT: LB_GETTEXT mapper
Alexandre Julliard
julliard at winehq.org
Wed Mar 9 13:26:54 CST 2005
Marcus Meissner <marcus at jet.franken.de> 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
app.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list