5 Oct
2008
5 Oct
'08
10:43 a.m.
"Nikolay Sivov" <bunglehead(a)gmail.com> wrote:
Why do you need to allocate an intermediate roletextA?
WideCharToMultiByte requires to have a sufficient buffer. I think it's the easiest way to allocate necessary buffer instead of using local buffer of some hardcoded length. What do you think?
And what is the problem with WideCharToMultiByte? -- Dmitry.