comctl32: Fix loading string from resources (take 2)
dmitry at codeweavers.com
Fri Jun 2 10:25:33 CDT 2006
"Thomas Weidenmueller" <wine-patches at reactsoft.com> wrote:
> LoadString() cannot be used to measure the length of a string resource.
> It will not return the length of the string if no buffer is provided,
> instead it will return 0! This patch fixes the broken property sheet code.
It would be appropriate to provide a test case showing correct LoadString
behaviour and fix LoadString in Wine if it confirms the statement above
since Wine clearly returns the size of the string resource if the passed
buffer is NULL.
More information about the wine-devel