Win32 Version? MODIFICATION NEEDED

Nitin Agarwal nitin.agarwal at timesgroup.com
Mon Oct 28 08:57:00 EST 2002


Hi!!!!!!
There is one programming consideration which need to be programmed in RSYNC for
Windows..

PROBLEM
------------
Whenever Rsync is installed as service on Windows Platform, the rsync
application gets terminated while logging off the server.

POSSIBLE SOLUTION
-------------------------
An Event Handler should be added in Rsync for windows binaries.....: following
is the explanation for that:

For WIN32 applications (i.e. Rsync): when the currently logged-in user is
logging-off, all Console applications receive a CTRL_LOGOFF_EVENT event from the
Console.

If your Console application has registered a Console event handler (via
SetConsoleCtrlHandler), it must ignore CTRL_LOGOFF_EVENT in order to survive the
logoff.

_________________
Can we expect some help on this regard?
Thanks in Advance
Nitin Agarwal




More information about the rsync mailing list