Rémi Bernon <rbernon at codeweavers.com> writes: > + buffer[1] = 0; > + > + wcsncpy( str, buffer, size ); Please keep lstrcpynW, wcsncpy doesn't do the same thing and is pretty much always the wrong function to use. -- Alexandre Julliard julliard at winehq.org