> 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.

The property added by WinVNC is destroyed whenever the hooks are removed
from the system - this occurs whenever you change desktops under NT, and
whenever all VNC connections have gone.  If a Delphi app ran immediately
after a VNC connection had closed, it may well be allocated the same prop
number.

> >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.

It may happen while the session is connected simply because Delphi has been
run between two VNC sessions and so has grabbed the *old* VNC atom, leaving
the new VNC session to use a new one.  If VNC had incorrectly left
properties atteched to system windows then Delphi would then get confused.

Cheers,

James "Wez" Weatherall
--
          "The path to enlightenment is /usr/bin/enlightenment"
Laboratory for Communications Engineering, Cambridge - Tel : 766513
AT&T Labs Cambridge, UK                              - Tel : 343000
---------------------------------------------------------------------
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
---------------------------------------------------------------------

Reply via email to