Fw: [PATCH] CMD.exe: Remove code duplication for _splitpath

Alexandre Julliard julliard at winehq.org
Tue May 1 13:58:51 CDT 2007


"Ann & Jason Edmeades" <us at edmeades.me.uk> writes:

> Well, I am trying to convert cmd.exe to unicode, and was hoping to use the
> wide crt functions to replace e.g. strstr, strdup etc. This way it's a
> relatively simple transition from char to WCHAR without having to rewrite
> other functions. LstrcatW and lstrcpyW help, but there's other functions
> with no non-CRT equivalents.
>
> Does this change your mind? :-)

It depends on how many there are, but in general I think using the
Unicode functions from libwine is less confusing than the wcs* ones
since we are not using a real wchar_t.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list