jimtabor wrote:
when WindowObject->Wnd is NULL and WindowObject is
not NULL
it crashes in vis.c line 89.
[...]
Since this crash is started in GetDCEx with a NULL
"Window"
call leaves me with a bad taste. The code was written prior to
having Desktop support, later hax. So having null window
associated with DCE is okay then, not now.
Any Ideas?
Isn't this the case where it in Windows originally got the meaning
"use the desktop window", that later became a compatibility hack where
"NULL isn't a cool HWND, but due to the many programs using it, we'll
automatically give the user the DC for the (currently visible) screen"
(or possibly the desktop associated with the thread)?
--
Mike