http://bugs.winehq.org/show_bug.cgi?id=3215
Summary: GetProcAddress for dynamic support of different OS versions broken Product: Wine Version: 20050310 Platform: Other OS/Version: other Status: UNCONFIRMED Severity: minor Priority: P2 Component: wine-console AssignedTo: wine-bugs@winehq.org ReportedBy: Borbarad@gmxpro.net
When starting a program under WINE (emulating W98) which uses GetProcAddress to support functions not available before Windows 2000, the program crashes with an exception because WINE seems to return a valid function address but nothing valid is there.
Is it possible at all to fix this? The program uses GetProcAddress() to retrieve a function pointer and would normally just disable this feature if the pointer is 0. Here it seems the pointer is not equal to 0!
Here's the output from wine:
------------------------- ~/.wine/drive_c/windirstat$ wine windirstat.exe fixme:listview: LISTVIEW_SetColumnOrderArray iCount 9 lpiArray 0x7e1c1350 fixme:listview: LISTVIEW_SetColumnOrderArray iCount 6 lpiArray 0x7e1c2dd0 fixme:ntdll: NtQueryInformationProcess (0xffffffff,0x00000003,0x7fb4f4e0,0x0000002c,(nil)), stub! fixme:seh:EXC_RtlRaiseException call (from 0x415cf1) to unimplemented function kernel32.dll.GetVolumeNameForVolumeMountPointA wine: Unhandled exception (thread 0009), starting debugger... -------------------------
Oliver