[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#13065: Bug in x-file-dialog with GetOpenFileName
From: |
Eli Zaretskii |
Subject: |
bug#13065: Bug in x-file-dialog with GetOpenFileName |
Date: |
Sun, 13 Jan 2013 18:35:41 +0200 |
> From: Jason Rumney <jasonr@gnu.org>
> Cc: duyanning@gmail.com, 13065@debbugs.gnu.org
> Date: Sun, 13 Jan 2013 20:52:25 +0800
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> >> Is it not just a case of doing the same as we did previously?
> >>
> >> /* If we compile with _WIN32_WINNT set to 0x0400 (for NT4
> >> compatibility) we end up with the old file dialogs. Define a big
> >> enough struct for the new dialog to trick GetOpenFileName into
> >> giving us the new dialogs on newer versions of Windows. */
> >
> > Sorry, I don't understand: we still do what the above comment
> > describes.
>
> I meant maybe we need to increase the size of the struct again to fool
> Windows 7 into thinking we are compiling against a more recent version
> of the SDK.
Thanks, will try that some time soon.