>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 to remove the props, and the atom is removed,
then Delphi could get the same atom number as VNC had when it starts up.
However, the VNCHooks atom is only removed on WinVNC shutdown AFAIK, and
I see no reason why we should have been restarting WinVNC.
>Do the Delphi apps crash only when a
>VNC session is connected, or only when ones _has_ been connected but isn't
>any longer, or both?
I can happen when the VNC session is connected. I can't tell if it can
happen afterwards too.
>Can you verify that Delphi creates the atoms correctly with GlobalAddAtom()
>and places them in the low-word of the SetProp and GetProp property
>paramaters when they're used?
I checked it out, and yes, it seems so.
// 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
---------------------------------------------------------------------