https://bugs.winehq.org/show_bug.cgi?id=39867
--- Comment #4 from Bruno Jesus 00cpxxx@gmail.com --- Created attachment 57197 --> https://bugs.winehq.org/attachment.cgi?id=57197 so-so patch
The attached patch works but the problem is very deep inside many shell32 and commdlg32 functions that rely on MAX_PATH and FILENAME_MAX constants.