[Bug 3215] New: GetProcAddress for dynamic support of different OS versions broken

Wine Bugs wine-bugs at winehq.org
Thu Aug 11 09:57:55 CDT 2005


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 at winehq.org
        ReportedBy: Borbarad at 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

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list