BUG Report
Posted: 31 Jan 2018, 02:40
Code: Select all
Error at line 13 in #include file "ResGet.ahk".
Line Text: if !hModule && !hModule:=LoadLibrary(fullpath),
Error: "If" accepts at most 1 parameter.
The program will exit.
Let's help each other out
https://www.autohotkey.com/boards/
https://www.autohotkey.com/boards/viewtopic.php?f=67&t=43594
Code: Select all
Error at line 13 in #include file "ResGet.ahk".
Line Text: if !hModule && !hModule:=LoadLibrary(fullpath),
Error: "If" accepts at most 1 parameter.
The program will exit.
Code: Select all
StrPutVar(string,ByRef var,encoding){
VarSetCapacity(var,StrPut(string,encoding)*((encoding="utf-16"||encoding="cp1200")?2:1),00)
return (len:=StrPut(string,&var,encoding),VarSetCapacity(var,-1),len)
}
StrPutVar(string,ByRef var,encoding:="utf-8"){
VarSetCapacity(var,StrPut(string,encoding)*((encoding="utf-16"||encoding="cp1200")?2:1),0)
return (len:=StrPut(string,&var,encoding),VarSetCapacity(var,-1),len)
}
Code: Select all
StrPutVar(string,ByRef var,encoding:="UTF-8"){
VarSetCapacity(var,StrPut(string,encoding)*((encoding="utf-16"||encoding="cp1200")?2:1),00)
return (len:=StrPut(string,&var,encoding),VarSetCapacity(var,-1),len)
}