search for: scroll_getptrscrollinfo

Displaying 1 result from an estimated 1 matches for "scroll_getptrscrollinfo".

2001 Sep 04
0
Presumed bug found in SCROLL_GetPtrScrollInfo
Hi all. We have a win32 application linked to Far Point's Spread32 library; the application crashes when referencing a NULL pointer returned by GlobalLock, but obviously it runs perfectly under win98SE (see previous post about GetWindowLongA) . The behaviour of SCROLL_GetPtrScrollInfo, with nBar parameter = SB_CTL, is to return wndPtr->wExtra as it were a pointer. Actually we found that, in this case, the application stores in wndPtr->wExtra[0] a handle; so, tricking with wine's code, we obtained the pointer from the handle (using GlobalLock), making the app working...