http://bugs.winehq.org/show_bug.cgi?id=30634
Bug #: 30634 Summary: SymInitialize process handle instead of process id in W9x mode Product: Wine Version: 1.3.32 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: dbghelp AssignedTo: wine-bugs@winehq.org ReportedBy: benito@benibela.de Classification: Unclassified
The wine dbghelp SymInitialize functions only works, when the process handle is passed to it, even in Windows 9x compatibility mode.
But the (old) Platform SDK says explicitely:
hProcess [in] Handle to the process for which symbols are to be maintained. If the application is a debugger, use the process handle for the object being debugged, otherwise use the GetCurrentProcess function to obtain the process handle. **Windows 95/98/Me**: Use the process identifier, not the process handle.
(and it seems to be implemented that way)