https://bugs.winehq.org/show_bug.cgi?id=39920
--- Comment #2 from Bruno Jesus 00cpxxx@gmail.com --- Created attachment 55648 --> https://bugs.winehq.org/attachment.cgi?id=55648 patch
For absolutely unknown reasons "dwSize = SizeofResource(COMDLG32_hInstance, hRes)" receives zero as value. hRes is not NULL, otherwise a previous error would have been triggered.
I don't know if the patch is correct or not, it just works.