OpenSLP 2.0.0.0 x86
Brought to you by:
jcalcote
On Windows XP, when installing OpenSLP with an administrator account, I get the message:
"Starting Services"
=> Service "Service Location Protocol" failed to start. Verify that you have sufficient privileges to start system services.
Same problem for "Typical", "Custom" and "Complete" configurations.
When it is stuck in the error message, I can see that a new service has been added. Then, if trying to start it manually, I get an error message saying:
"Could not start the Service Location Protocol service on Local Computer.
Error 1053: The service did not respond to the start or control request in a timely fashion."
And also, if I try to start slpd.exe from the command line, I get the error message:
"The procedure entry point if_nametoindex could not be located in the DLL IPHLPAPI.DLL".
Actually both versions x86 and x64 are not able to run on XP.
Seems it is because of if_nametoindex supported since Vista.
Debugging I found that this function appears in unreachable pieces of code
on Windows platform so as temporary solution #ifndef _WIN32 works for me.
But that would be great to have official patch, with installer. Thanks.
Fogot to add: also problem on XP appears with ConvertLengthToIpv4Mask function which also supported from Vista only. Fortunatelly alternative aready provided after #else statement.