[Bug 1503] executing old 16-bit program leads to unhandled exception in scroll.c
http://bugs.winehq.com/show_bug.cgi?id=1503 ------- Additional Comments From saulius.krasuckas(a)elst.vtu.lt 2003-02-06 12:06 ------- hi Duane, that's a no problem :) i have read through bodies of some functions and saw some unexpected details. one for example could be that 32-to-16 bit message translations. at first i thought the cause of crash is translation, wrongly truncating "wParam". after i read some old win3.1 api help and thought both the pointers, and both integers they are pointing to should be 16-bit wide. it seems, wine passes 32-bit pointers to win16 subroutines. here arises question for me: why? shouldn't that address/pointers be translated alltogether somewhere between the: 16 0x407fbb59 (GetScrollRange+0x55(hwnd=0x10039, nBar=0x2, lpMin=0x415a2428, lpMax=0x415a242c) [scroll.c:1837] in user32.dll.so) (ebp=415a2410) 17 0x407dccf6 (GetScrollRange16+0x3a(hwnd=0x39, nBar=0x2, lpMin=0x40488362, lpMax=0x40488360) [wnd16.c:493] in user32.dll.so) (ebp=415a243c) or somewhere else? -- Configure bugmail: http://bugs.winehq.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
participants (1)
-
Wine Bugs