the line having problems looks like this:
SCIModule:=DllCall("LoadLibrary", "Str", DllPath)
Thing is: if i run the same script with Autohotkey x32, it works without issues.
Are there any problems with DllCall and x64 bit environments?
Both versions of AHK are Unicode.