Hallo
I created one DLL to parse XML file. In this DLL I create some function to get some XML parameters.
When I call the function in c-script it works, but when I call the same function in lite-c appear one error: can not converter "ARRAY" to "FIXED". The example above, I want to copy one string in XML file to other string in the game. The function Get_SAttributValue(file, xpath, attribut) return the value of attribut .
the code in c-script is (works):
dllfunction Get_SAttributValue(file, xpath, attribut);
STRING* Nfile;
var XMLAdvAppHandle;
....
Function main()
{
XMLAdvAppHandle = dll_open("XMLDllNovo.dll");
str_cpy(Nfile, Get_SAttributValue(file,pathX,"src"));
}
the code in lite-c is (don“t work):
function Get_SAttributValue(file, xpath, attribut);
STRING* Nfile;
....
Function main()
{
dll_open("XMLDllNovo.dll");
str_cpy(Nfile, Get_SAttributValue(file,pathX,"src"));
}
did I do something wrong?