Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   Help fixing NSIS Service Lib (http://forums.winamp.com/showthread.php?t=336671)

cowwoc 28th October 2011 16:20

Help fixing NSIS Service Lib
 
Hi,

I found a bug in the NSIS Service Lib [1] but I don't know how to fix it. According to http://msdn.microsoft.com/en-us/libr...=vs.85%29.aspx the "depend" parameter must consists of a two-dimensional array, where each dependency is null-terminated and the final one is doubly null-terminated. The current plugin doesn't do this so passing multiple dependencies always fails.

How do I construct a two-dimensional array as CreateService is asking for in NSIS?

[1] http://nsis.sourceforge.net/NSIS_Service_Lib

Thanks,
Gili

T.Slappy 31st October 2011 06:28

Maybe consider using another plugin: try Simple Service plugin http://nsis.sourceforge.net/NSIS_Simple_Service_Plugin

cowwoc 31st October 2011 12:16

Quote:

Originally Posted by T.Slappy (Post 2814573)
Maybe consider using another plugin: try Simple Service plugin http://nsis.sourceforge.net/NSIS_Simple_Service_Plugin

That's what I ended up doing. Can someone please edit the Wiki for Service Lib and indicate the existence of this bug? We don't want other people getting caught in the same surprise.

Gili


All times are GMT. The time now is 17:43.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.