https://bugs.winehq.org/show_bug.cgi?id=33776
--- Comment #34 from Adam Bolte abolte@systemsaviour.com --- (In reply to Qian Hong from comment #30)
Created attachment 50492 [details] Fix iswow64 on 64bit
This one should help more, but it might not be correct, need more testing on Windows.
Confirming this seems to sort out both 64-bit and 32-bit apps via Uplay successfully (tested Far Cry 4, Far Cry 3 and Settlers 7). Tested against master HEAD.
I note that this PROCESS_QUERY_LIMITED_INFORMATION stuff isn't actually in head master yet. The upstream patch Anastasius Focht linked is not sufficient to close this issue. I'm unclear on why this was closed.
As it stands, master HEAD can run 32-bit apps via Uplay in a 32-bit prefix, and 64-bit apps via Uplay in a 64-bit prefix - but not 32-bit apps. Applying attachment 50492 resolves all issues reported here.