Robert Shearman <[EMAIL PROTECTED]> writes:

> The strncpyW function exists for a reason. Also, it is better to use
> strlenW than lstrlenW.

Actually strncpy(W) is almost always the wrong thing to use. If you
want to copy a fixed length (like in that case) memcpy is a much
better choice; if you want to copy and possibly truncate a string
lstrcpynA/W is preferable.

-- 
Alexandre Julliard
[EMAIL PROTECTED]

Reply via email to