I have a function in my DLL that gives me the length of a JSON array. for the first time I call this function in work correct but for the second time when I call this functi