>Every control/hWnd has a property named "ControlOfs" plus the hInstance
>and the thread ID number. A global atom for this is created at program
>startup.
...and the data in this property is a pointer to the Delphi class
instance of the control.
>Therefore, FindControl calls the Win32 function GetProp. And Delphi
>relies on GetProp to return nil/null/0 if the mouse cursor is over
>something else than the application itself. However - this is where
>something goes wrong! When WinVNC is active, GetProp does sometimes
>return something else than nil, which later on makes the Delphi program
>crash.
This includes, but is not limited to, when the mouse is over the taskbar.
>This is as far as I've come investigating this, I don't know much about
>VNC and what it does to GetProp...but maybe we can solve this together?
Maybe you could debug and see if a GetProp call would get into your hooks
or something...
The server machine is a NT 4.0 SP5.
// David
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to [EMAIL PROTECTED]
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------