Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Including arrays into structure
Message
 
 
To
03/10/2003 10:11:39
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00833476
Message ID:
00834798
Views:
26
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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform