In OpenSCManagerW() allow lpDatabaseName to be an empty string. Ivan. -------------- next part -------------- A non-text attachment was scrubbed... Name: asf3.diff Type: text/x-patch Size: 448 bytes Desc: not available Url : http://www.winehq.org/pipermail/wine-patches/attachments/20041219/9d36bc07/asf3.bin