What's the problem if add toMBSz to tango.sys.win32 ?

Lars Ivar Igesund larsivar at igesund.net
Sun Apr 27 11:51:43 PDT 2008


yidabu wrote:

> 
> Tango and almost all Tango based libs and tools have same issue:
> use tango.stdc.stringz.toStringz(name) or name ~ '\0' instead of
> toMBSz(name) for calling A version Windows API, that's wrong! program may
> crashed if multi byte name.

Ok, now I have an understanding of what is said here - the way to have this
fixed is (as always) to create a ticket, preferably with a patch tested by
someone who needs to use *A functions of the Win API.

-- 
Lars Ivar Igesund
blog at http://larsivi.net
DSource, #d.tango & #D: larsivi
Dancing the Tango



More information about the Digitalmars-d mailing list