[PATCH vkd3d 2/2] demos: Support building on Windows without -DUNICODE.

Henri Verbeet hverbeet at gmail.com
Wed Feb 23 10:02:43 CST 2022


On Wed, 23 Feb 2022 at 16:56, Alexandre Julliard <julliard at winehq.org> wrote:
> Henri Verbeet <hverbeet at gmail.com> writes:
> > On Wed, 23 Feb 2022 at 16:03, Alexandre Julliard <julliard at winehq.org> wrote:
> >> Actually, is there a reason we are using -municode for crosstests?
> >>
> > I don't think there's a strong reason. IIRC it was just for making
> > sure we get the W-variants of functions by default. I.e., preventing
> > accidents along the lines of using CreateWindowExW() in
> > demo_window_create(), but then using DefWindowProc() in
> > demo_window_proc().
>
> This would then require the Mingw build to force -municode as well. Do
> you want this, or should I remove -municode?
>
I think I'd prefer the Win32 build setting -municode, yes. It's not a
very strong preference though, so if you feel removing -municode would
be better, that's fine too.



More information about the wine-devel mailing list