[Bug 43670] MsPaint from Win7 does not start
wine-bugs at winehq.org
wine-bugs at winehq.org
Mon Dec 24 18:54:17 CST 2018
https://bugs.winehq.org/show_bug.cgi?id=43670
--- Comment #6 from Fabian Maurer <dark.shadow4 at web.de> ---
Created attachment 63097
--> https://bugs.winehq.org/attachment.cgi?id=63097
Hack to get paint to start up
As suspected, the problem here is that the mfc can't load the MUI resources.
Now I don't know how exactly MUI works, so I have to investigate that first.
In short, MFC tries to load a menu by calling LoadMenuW, and bails out when it
doesn't work. All other strings are affected too, but that simply treats them
as empty-strings.
When forcing LoadMenuW to search in mspaint.exe.mui (and one has the dll), it
works - at least it starts up. Pretty unusable since all other strings are
missing too, but that's the same issue after all.
Attaching a small hack to work around the issue - needs mspaint.exe.mui in the
same folder as mspaint.exe. Also included an undocumented dll function, since
that is called regularly by paint - you'll need that when you want to use it
longer than one second or so.
TL;DR:
We need a MUI implementation for paint to work.
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list