我試圖使用NSIS功能StrStr
的功能,但我得到以下錯誤:多少參數做的strstr需要
!insertmacro: macro "FUNCTION_STRING_StrStr" requires 0 parameter(s), passed 3!
的documentation指定您是爲了傳遞3個參數,這個功能,與上面的編譯錯誤相反。
那麼有多少參數做我使用的NSIS功能StrStr
?
我的代碼:
!include "StrFunc.nsh"
!include "LogicLib.nsh"
InstallDir "abc"
Name "def"
OutFile "def.exe"
Section
${StrStr} $R9 "How to find it" "find it"
SectionEnd
您可能希望[這裏完整的示例]檢查(http://nsis.sourceforge.net/StrFunc)。 –
你已經基本上問同樣的問題,現在的3倍,爲什麼你能不能,而不是編輯您的老問題?請只接受作者:Matt吉布森回答,繼續前進...... – Anders