On Fri, 4 Mar 2005 13:54:34 +1100, Troy Rollo wine@troy.rollo.name wrote:
QueryServiceConfigW currently returns a NULL pointer for lpDependencies when there are no dependencies. The documentation states that an empty string has the same meaning, and at least one application (an MSIEXEC.EXE from the Office XP CD) will SEGV if this is NULL. Using the empty string avoids this.
ChangeLog: Return an empty string for service dependencies when there are no dependencies, rather than a NULL pointer, which causes some apps to SEGV.
Can you write test cases for this behaviour?