Displaying 5 results from an estimated 5 matches for "wndptr".
Did you mean:
endptr
2001 Aug 10
1
A bug in WIN_SetWindowLong ?
Hi all.
While debugging some program, I discovered what looks like a bug. Please
be patient if I'm wrong.
In the WIN_SetWindowLong function, in order to get the address of
wExtra, there is:
ptr = (LONG *)(((char *)wndPtr->wExtra) + offset);
but this takes the *CONTENT* of wndPtr->wExtra.
The correct code should be
ptr = (LONG *)(((char *)&wndPtr->wExtra) + offset);
Am I wrong ?
Bye
Marco
--
Marco Bizzarri - Responsabile Tecnico - Icube S.r.l.
Sede: Via Ridolfi 15 - 56124 Pisa (PI), It...
2001 Sep 04
0
Presumed bug found in SCROLL_GetPtrScrollInfo
...inked 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 (almost) correctly.
Before releasing a patch, we wo...
2001 Feb 04
1
Hey ! thanks ! Flash 5 works now ... for short ... :(
....c
cuz the patch file from
http://www.integrita.com/cgi-local/lwgate.pl/WINE-PATCHES/archives -->
2000/07 --> setwindowlong
is outdated, but u can fix it by hand,
if u open win.c ; go to line 2032 ( case GWL_STYLE: )
and than change the code between 'case GWL_STYLE:'
and 'if (wndPtr->flags & WIN_ISWIN32)'
into :
case GWL_STYLE:
// style.styleOld = wndPtr->dwStyle;
// newval &= ~(WS_CHILD); /* this bit can't be changed this way */
// style.styleNew = newval | (style.styleOld & (WS_CHILD));
/* FIXME: this part...
2001 Feb 01
2
Transgaming, Install Shield, and the dead horse
"Geoffrey L. Hausheer" wrote:
>
> So not to beat a dead horse or anything, but after seeing Gavriel's note
> that InstallShield was working in the latest Transgaming patch (I have no
> need of the Direct3d stuff, but I was not able to find any relevant pattches
> by Andreas on PATCHES), I installed the patch, and tried out installing
> MediaPlayer yet again, and
2001 May 15
2
WTLIB99 with wine-010510 tar ball broken again
...erard Patel).
+
the patch:
diff -u -r ./wine-20010510/dlls/x11drv/window.c
./wine-20010511/dlls/x11drv/window.c
--- ./wine-20010510/dlls/x11drv/window.c
Mon May 14 16:48:08 2001
+++ ./wine-20010511/dlls/x11drv/window.c
Mon May 14 17:48:00 2001
@@ -398,8 +398,9 @@
dwStyle = wndPtr->dwStyle;
- pWndParent = parent ? WIN_FindWndPtr(parent) : WIN_GetDesktop();
- if (!pWndParent)
+ if (!parent) parent = GetDesktopWindow();
+
+ if (!(pWndParent = WIN_FindWndPtr(parent)))
{
WIN_ReleaseWndPtr( wndPtr );
return 0;
When I revert to the cvs 0105...