USER32: win16 applications should not see long filenames returned from dialog control (try 4) (RESEND)

Alexandre Julliard julliard at winehq.org
Tue Nov 27 07:31:30 CST 2007


Alex Villací­s Lasso <a_villacis at palosanto.com> writes:

> Changelog:
> * Win16 applications should not see long filenames. Change directory
> listbox to return short names when called from the 16-bit wrappers.

You are still calling GetShortPathName on potentially uninitialized
data. You simply can't do this with a wrapper around the 32-bit
DlgDirSelect, you have to duplicate the code. But first it would be
worth checking if the listbox shouldn't rather be populated with short
path names in the first place.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list