https://bugs.winehq.org/show_bug.cgi?id=48523
Bug ID: 48523 Summary: dlls/toolhelp16.dll16 LocalFirst and LocalNext only return LMEM_FIXED handles Product: Wine Version: 5.0-rc6 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: dirk.niggemann@gmail.com Distribution: ---
I have a program (HP Chemstation G1701BA) which ha two 16-bit components (MSTOP.EXE and MSCONFIG.EXE) which inspect their own allocated local heaps to find their menus.
They use TOOLHELP.DLL to do this(LocalFirst() and LocalNext()) .
However, the Wine implementation of toolhelp.dll does not return any of the moveable local heap handles, only the fixed ones. This causes both programs to error during menu building with an internal 'CP Object not found' error.
I have an unfinished test implementation of toolhelp.dll that handles moveable handles which seems to resolve this issue.