"Martin Fuchs" martin-fuchs@gmx.net writes:
Even for drive letters? The only valid characters you will find in szElement[0] are a..z and A..Z.
Not all Unix locales map a..z to A..Z, so yes we have to use toupperW. But a better fix is probably to make _ILCreateDrive take a Unicode string and do the conversion in there.