https://bugs.winehq.org/show_bug.cgi?id=50784
Esme Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|NEW |RESOLVED
--- Comment #4 from Esme Povirk madewokherd@gmail.com --- It seems I made a mistake in my testing on Windows. I had a 64-bit dll with the exe instead of a 32-bit one. Windows is loading this in a 32-bit process, the same as Wine.
Arguably, wine/wine64 should select the correct version, but that's a more general known issue. From CreateProcess Wine's behavior is correct.