This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Rsync + Win2k


As to event non-registered error, you can recompile rsync daemon binary
with .res file indicating format of Windows resource.
In .mc file you must indicate Facility=Application MessageId=0
MessageIdTypedef=DWORD. Use mc (from Novell) and windres to compile.
After it you can insert into registry the following entries:

Subkey:
"HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\EventLog\Application\<Yourservice_name>"
ValueType: REG_EXPAND_SZ ValueName: "EventMessageFile" ValueData:
"<path_to_your_service_executable>"

Subkey:
"System\CurrentControlSet\Services\EventLog\Application\<Yourservice_name>"
ValueType: REG_DWORD ValueName: "TypesSupported" ValueData: "0x00000007"



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]