Subject: | Daemon.xs missing dwMajorVersion handling for Win 10+ |
As reported on IRC #win32 today:
[12:07] <mc-guest-37> I've recently found that in StrawberryPerl distributions since 5.22.1 on Windows10 and 2016 Server Win32::Daemon do not support STOP/PAUSE/PreSHUTDOWN or any other callbacks
[12:07] <mc-guest-37> Also found reason and solution for that
[12:08] <mc-guest-37> is there any way to make it included in the next release of StrawberryPerl Win32::Daemon module?
[12:14] <mc-guest-37> Reason is that GetVersionEx() function used in Daemon.xs returns dwMajorVersion 10 for Windows10/2016 Server, which is not listed in switch