steve fox wrote:
> Thanks, Andreas -
>
> I'm noted for being good at inventing new errors! ;)
>
> Here's my line 86:
>
> m_conversion->MB2WC((wxChar*)wxStringBuffer(str, nLen), buffer, nLen+1);
>
>
> All still breaks, and I'm open to any casting tips.
Try full casting:
m_conversion->MB2WC((wchar_t*)(wxChar*)wxStringBuffer(str, nLen),
(const char*)buffer, (size_t)(nLen+1));
and try to locate which param finally was the offending.
Regards,
Andreas