"Dimitrie O. Paun" <[EMAIL PROTECTED]> writes: > Alexandre, why is it that you want so badly to get rid of the HEAP_strdup > functions? I mean, in certain cases they are not needed, and they rather > signal that the code needs fixing, but in other places they _are_ needed > and they convey a heck of a lot better what we're trying to do then the > strange WideCharXXX function calls.
The reason is very simple: WideCharXXX are Windows API, HEAP_strdupA/W are not. If you want an strdup to make the code more readable, you can declare a static one in the file where you need it; but of course this only makes sense if it is used a lot. -- Alexandre Julliard [EMAIL PROTECTED]