https://bugs.winehq.org/show_bug.cgi?id=45363
Bug ID: 45363 Summary: CreateToolhelp32Snapshot(TH32CS_SNAPMODULE, 0) return empty snapshot Product: Wine-staging Version: 3.7 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: sr-tream@yandex.ru CC: leslie_alistair@hotmail.com, z.figura12@gmail.com Distribution: ---
function CreateToolhelp32Snapshot sometimes returns an empty snapshot, while in Windows this function works correctly
https://bugs.winehq.org/show_bug.cgi?id=45363
sr-tream@yandex.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |ArchLinux
https://bugs.winehq.org/show_bug.cgi?id=45363
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |kernel32 Product|Wine-staging |Wine
https://bugs.winehq.org/show_bug.cgi?id=45363
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de
--- Comment #1 from Fabian Maurer dark.shadow4@web.de --- What does "sometimes" mean? Is there a pattern to it, do you know a way to reproduce the issue? Because I couldn't.
https://bugs.winehq.org/show_bug.cgi?id=45363
--- Comment #2 from sr-tream@yandex.ru --- (In reply to Fabian Maurer from comment #1)
What does "sometimes" mean? Is there a pattern to it, do you know a way to reproduce the issue? Because I couldn't.
Unfortunately I do not know how to reproduce the problem. There is a game for which I write DLL (compile MinGW GCC 7.3). In wine, everything usually works, but sometimes when changes to DLL, even if these changes do not concern CreateToolhelp32Snapshot, this problem appears, while the person who tests this DLL in Windows does not show this problem.
https://bugs.winehq.org/show_bug.cgi?id=45363
--- Comment #3 from Fabian Maurer dark.shadow4@web.de --- You mean you're trying to mod a game and the dll calls CreateToolhelp32Snapshot? For testing a minimal sample would be nice.
https://bugs.winehq.org/show_bug.cgi?id=45363
--- Comment #4 from sr-tream@yandex.ru --- (In reply to Fabian Maurer from comment #3)
You mean you're trying to mod a game and the dll calls CreateToolhelp32Snapshot? For testing a minimal sample would be nice.
code for with this function: https://pastebin.com/LxR35ibX After the next recompilation of the code, it started working in the wine, before that it worked only in Windows.
https://bugs.winehq.org/show_bug.cgi?id=45363
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |NEEDINFO
--- Comment #5 from Nikolay Sivov bunglehead@gmail.com --- (In reply to sr-tream from comment #4)
(In reply to Fabian Maurer from comment #3)
You mean you're trying to mod a game and the dll calls CreateToolhelp32Snapshot? For testing a minimal sample would be nice.
code for with this function: https://pastebin.com/LxR35ibX After the next recompilation of the code, it started working in the wine, before that it worked only in Windows.
Does this mean it works now for you?
https://bugs.winehq.org/show_bug.cgi?id=45363
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|major |normal