Am 16.11.2011 16:12, schrieb victor martinez:
No, the fact that the combo boxes are unicode, doesn't mean TC is
calling SendMessageW, It could very well call SendMessageA and pass
an ansi string.
If it passes an ANSI string to SendMessageW then it's doing it
wrong.
The message is supposed to be translated accordingly when it's
passed to the recevier, based on whether the receiving window is
ANSI or unicode.
The problem also doesn't seem to be ANSI vs unicode, but the "extra text at the end".
First thought: someone forgot that UNICODE_STRINGs are not
neccessarily 0 terminated.
Timo