Re: VNC krasches Delphi apps on server

2001-02-20 Thread David Henningsson
>VNC Uses GlobalAddAtom to add two atoms to the atom table. It does this in >the hook DLL, inside each hooked application. The atoms are used to SetProp >and GetProp on hooked windows. It sounds like Delphi and VNC are somehow >ending up using the same atom values. Could be that if you forget

re: VNC krasches Delphi apps on server

2001-02-19 Thread David Henningsson
>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

VNC krasches Delphi apps on server

2001-02-19 Thread David Henningsson
I just joined the mailing list to tell you about a bug that creates AV's on Delphi apps. The AV address is in TControl.ScreenToClient. I searched the mailing list archive as well and I saw that this bug has been reported earlier. But I saw nothing about a fix, so I guess it is still an open bu