1
- Win32::Daemon
1
+ Win32::Daemon
2
2
HISTORY:
3
3
4
4
20000618
7
7
-QueryServiceConfig
8
8
9
9
20011230 rothd@roth.net
10
- - Fixed bug where service doesn't work properly with Windows NT 4. We were
11
- defaulting by acccepting the SERVICE_ACCEPT_PARAMCHANGE and
12
- SERVICE_ACCEPT_NETBINDCHANGE controls. However, they were introduced in
10
+ - Fixed bug where service doesn't work properly with Windows NT 4. We were
11
+ defaulting by acccepting the SERVICE_ACCEPT_PARAMCHANGE and
12
+ SERVICE_ACCEPT_NETBINDCHANGE controls. However, they were introduced in
13
13
Win2k so NT 4 coughed up blood with them.
14
14
15
15
20010224
@@ -38,9 +38,9 @@ HISTORY:
38
38
SERVICE_ACCEPT_SESSIONCHANGE
39
39
40
40
20011221 rothd@roth.net
41
- - Fixed bug where service doesn't work properly with Windows NT 4. We were
42
- defaulting by acccepting the SERVICE_ACCEPT_PARAMCHANGE and
43
- SERVICE_ACCEPT_NETBINDCHANGE controls. However, they were introduced in
41
+ - Fixed bug where service doesn't work properly with Windows NT 4. We were
42
+ defaulting by acccepting the SERVICE_ACCEPT_PARAMCHANGE and
43
+ SERVICE_ACCEPT_NETBINDCHANGE controls. However, they were introduced in
44
44
Win2k so NT 4 coughed up blood with them.
45
45
46
46
20020108 rothd@roth.net
@@ -50,9 +50,9 @@ HISTORY:
50
50
start, pause or stop. Fix was only in the Daemon.pm file.
51
51
52
52
20020114 marc.pijnappels@nec-computers.com
53
- - Fixed another bug where service wouldn't work on WinXP machines. Variable
54
- recognized_controls was wrongly initialized for WinXP systems. This
55
- rendered the service unable to start, pause or stop. Fix was only in
53
+ - Fixed another bug where service wouldn't work on WinXP machines. Variable
54
+ recognized_controls was wrongly initialized for WinXP systems. This
55
+ rendered the service unable to start, pause or stop. Fix was only in
56
56
the Daemon.pm file.
57
57
58
58
20020605 rothd@roth.net
@@ -72,30 +72,30 @@ HISTORY:
72
72
- SetSecurity()
73
73
- Finished incorporating callback routines.
74
74
- Added a few more events.
75
-
75
+
76
76
77
77
20061222 rothd@roth.net
78
78
- Converted to XS file.
79
79
- Fixed callback heartbeat: now properly calls back with SERVICE_RUNNING (not SERVICE_CONTROL_RUNNING)
80
80
- StopService() will post WM_QUIT message to the ServiceMain() thread to shut down the service thread.
81
- - Calling into StopService() will auto change the state to STOPPING/STOPPED so you do not need to
81
+ - Calling into StopService() will auto change the state to STOPPING/STOPPED so you do not need to
82
82
explicitly do so (calling State() or a callback returning STOPPING/STOPPED).
83
83
84
84
20070102 rothd
85
85
- Cleaned up a bit.
86
- - Added WM_QUIT message to the ServiceMain function. Now the Perl StopService() will
86
+ - Added WM_QUIT message to the ServiceMain function. Now the Perl StopService() will
87
87
post this message to shut down the service thread.
88
88
- Fixed bug where messages were posted to wrong thread.
89
89
90
90
20080321 rothd
91
91
- Added support for SERVICE_CONTROL_PRESHUTDOWN.
92
- - Callbacks can now return a state value. This is the functional equivilent of calling
92
+ - Callbacks can now return a state value. This is the functional equivilent of calling
93
93
Win32::Daemon::State( $NewState ) before returning:
94
94
// sub EventCallback
95
95
// {
96
96
// my( $Event, $Context ) = @_;
97
97
// # Process the event
98
- // Win32::Daemon::State( $NewState );
98
+ // Win32::Daemon::State( $NewState );
99
99
// return;
100
100
// }
101
101
// =================== SAME AS ====================
@@ -105,11 +105,11 @@ HISTORY:
105
105
// # Process the event
106
106
// return( $NewState );
107
107
// }
108
-
108
+
109
109
- Callback timer works correctly!
110
110
- CALLBACK_RUNNING has been depreciated and replaced with CALLBACK_TIMER. It is only called
111
111
when the timer (set by CallbackTimer()) has expired. Use this as a heartbeat. You only need
112
- to set it once either with CallbackTimer() or passing in the timer value when calling into
112
+ to set it once either with CallbackTimer() or passing in the timer value when calling into
113
113
StartService().
114
114
Set the callback using "timer" as the callback name. Using "running" will also work but it
115
115
is mapped to "timer". If you specify both, only "timer" will be registered.
@@ -132,6 +132,8 @@ HISTORY:
132
132
64-bit value on Win64 (Haiko Strotbek). [rt#64577]
133
133
134
134
XXXXXXXX Olivier Mengué
135
- - POD cleanup
135
+ - POD cleanup
136
136
- Doc fix from Brian Wightman (github #1, #2): wait hint in service
137
137
service status is in ms
138
+ - Fix the build by fixing the case sensitive Constant to constant
139
+ (RT #126272 and RT #75506)
0 commit comments