IIRC, there's a bug in the class related to DOUBLE members of the structure. Check aniother class
Heap allocation class File #
9482.
>Marcia,
>
>Thanks. Thanks as well to Sergey. I have learned a whole lot this week from Christof Lange's struct class. But there seems to be a problem with it or I may not be using it correctly. The convert.fll seems to work great with the exception of working with doubles. If I use the functions in convert.fll for doubles, the issue resides with the transformation of ChartoDouble():
>
>x = FLL_DoubleToChar(0)
>
>Then
>
>y = FLL_CharToDouble(x) && Error: Function argument value, type,
> && or count is invalid
>
>The same issue happens with the struct class.
>
>new = o.getstring()
>x = APICallFunction(@new)
>
>o.setstring(new) && Error: Function argument value, type,
> && or count is invalid
>By the way, setstring(), errors out on the FLL_CharToDouble().
>NOW, listen to this, sometimes it works and other times it does not???
>I think I am just going to have to resort to VB.
>Thanks,
>Dan
--sb--