Re: Make QueryServiceConfigW return an empty string for empty dependencies
4 Mar
2005
4 Mar
'05
3:41 a.m.
On Fri, 4 Mar 2005 13:54:34 +1100, Troy Rollo <wine(a)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? -- James Hawkins
7589
Age (days ago)
7589
Last active (days ago)
0 comments
1 participants
participants (1)
-
James Hawkins