[Bug 56363] New: GetPointerDeviceRects could not be located in the dynamic link library USER32.dll
https://bugs.winehq.org/show_bug.cgi?id=56363 Bug ID: 56363 Summary: GetPointerDeviceRects could not be located in the dynamic link library USER32.dll Product: Wine Version: 9.3 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: critical Priority: P2 Component: user32 Assignee: wine-bugs(a)winehq.org Reporter: gesk7pckj(a)mozmail.com Distribution: --- Created attachment 76100 --> https://bugs.winehq.org/attachment.cgi?id=76100 Console output with two debug output Everytime I try to run an .exe that is a game patch for a Windows game that runs great under Wine I get this message in a popup: "The procedure entry point GetPointerDeviceRects could not be located in the dynamic link library USER32.dll" I tried different things but with no success. Someone told me that is possible to create a patch for this issue. I'm attaching the console output and WINEDEBUG=loaddll,relay output. Tried on Ubuntu 22.04.4, 23.10 and Fedora 39. With Wine 9.3 and WoW64 compiled. Older Wine versions, clean wineprefix, installing dotnet and visualC++ packages. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=56363 Etaash Mathamsetty <etaash.mathamsetty(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |etaash.mathamsetty(a)gmail.co | |m --- Comment #1 from Etaash Mathamsetty <etaash.mathamsetty(a)gmail.com> --- could you please provide a link on how to get this exe? -- 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.
https://bugs.winehq.org/show_bug.cgi?id=56363 Fabian Maurer <dark.shadow4(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4(a)web.de Severity|critical |normal --- Comment #2 from Fabian Maurer <dark.shadow4(a)web.de> --- Not critical. But a download would be useful indeed. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=56363 --- Comment #3 from Etaash Mathamsetty <etaash.mathamsetty(a)gmail.com> --- made a stub here: https://gitlab.winehq.org/etaash.mathamsetty/wine/-/tree/user32-stub/fonts?r... -- 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.
https://bugs.winehq.org/show_bug.cgi?id=56363 --- Comment #4 from gesk7pckj(a)mozmail.com --- (In reply to Etaash Mathamsetty from comment #3)
made a stub here: https://gitlab.winehq.org/etaash.mathamsetty/wine/-/tree/user32-stub/ fonts?ref_type=heads
Hello! Thank you for your effort to solve this. My computer died and I was without a computer to access until now, sorry for take so long to reply. I'm trying to apply the patch you submitted but I get an "undefined reference to" error when compiling. I ran these commands after open terminal at source code directory and paste there the patch file: 1)./tools/make_specfiles 2) patch -p1 < "c432bdb783693e11cfbf296e82295cda855702dc.diff" 3) ./configure --enable-archs=i386,x86_64 4) make -j8 Then after sometime compiling it fails due to this "undefined reference to" and it says be related to some user32 file. (In reply to Etaash Mathamsetty from comment #1)
could you please provide a link on how to get this exe?
Well, I can upload the exe itself somewhere since I have it because you won't be able to download anywhere as it is tied to a patreon subscription. You can execute (and that's what I want to do) even without a subscription. Is this still necessary? -- 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.
https://bugs.winehq.org/show_bug.cgi?id=56363 --- Comment #5 from Etaash Mathamsetty <etaash.mathamsetty(a)gmail.com> --- please run ./tools/makespecfiles again, you have to run it after applying the patch not before -- 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.
https://bugs.winehq.org/show_bug.cgi?id=56363 --- Comment #6 from gesk7pckj(a)mozmail.com --- (In reply to Etaash Mathamsetty from comment #5)
please run ./tools/makespecfiles again, you have to run it after applying the patch not before
Yes! I compiled successfully now. Sorry for this little mistake. It seems to work, but now I get "GetPointerFrameTouchInfo could not be located in the dynamic link library USER32.dll" -- 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.
https://bugs.winehq.org/show_bug.cgi?id=56363 --- Comment #7 from Rafał Mużyło <galtgendo(a)o2.pl> --- ...sorry for the noise, but I've got a question: what process is used here by this patch for detecting those symbols ? If the log isn't truncated, it's neither GetProcAddress nor the standard one as there's no relevant 'missing' line even with 'loaddll'. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=56363 --- Comment #8 from Etaash Mathamsetty <etaash.mathamsetty(a)gmail.com> --- the app displays a message box and that's how we are currently debugging it, im sure it would be much faster to use WINEDEBUG=+module or smth like that -- 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.
https://bugs.winehq.org/show_bug.cgi?id=56363 --- Comment #9 from Rafał Mużyło <galtgendo(a)o2.pl> --- (In reply to Etaash Mathamsetty from comment #8)
...it would be much faster to use WINEDEBUG=+module or smth like that
That's just the thing: in this context (seemingly ntdll/loader.c) 'module' and 'loaddll' are the same, so I'm curious why there's nothing in those logs - in case of failure there should be, right ? So, am I failing to see something in the sources or is that patch doing something 'cute' ? (yes, to the problem at hand it's (most likely) irrelevant, still, I'm curious what's happening there) -- 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.
https://bugs.winehq.org/show_bug.cgi?id=56363 --- Comment #10 from Etaash Mathamsetty <etaash.mathamsetty(a)gmail.com> --- module and loadll print very different things (module prints a lot more), i think module includes loaddll, but loaddll does not include module. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=56363 --- Comment #11 from Etaash Mathamsetty <etaash.mathamsetty(a)gmail.com> --- actually since commit c80f806e868bee642d4d3dea326409ee911fdbc8, a warning is printed every time a symbol is not found in a library -- 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.
https://bugs.winehq.org/show_bug.cgi?id=56363 --- Comment #12 from gesk7pckj(a)mozmail.com --- I wonder... How can I help? -- 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.
https://bugs.winehq.org/show_bug.cgi?id=56363 --- Comment #13 from Etaash Mathamsetty <etaash.mathamsetty(a)gmail.com> --- try decompiling the .exe to figure out what other exports are needed (I use ghidra) -- 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.
https://bugs.winehq.org/show_bug.cgi?id=56363 --- Comment #14 from gesk7pckj(a)mozmail.com --- (In reply to Etaash Mathamsetty from comment #13)
try decompiling the .exe to figure out what other exports are needed (I use ghidra)
I have ghidra installed now and got the exe analyzed, but how can I export what you need? -- 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.
participants (1)
-
WineHQ Bugzilla