Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parameter as structs
Message
 
 
To
18/05/2001 19:46:33
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00508835
Message ID:
00509059
Views:
20
>Hi Larry,
>
>Excuse me for jumping in, but this week you saved my day too, when you helped teaching me how to use structures as parameters in some win2K API calls. Do you know if there is some reason why Microsoft VFP team doesn't implement structures like VB has, and put an end at this misery of VFP programmers having to use all kind of detours to acomplish these tasks?>
>Regards,
>
>Fernando

FWIW, this has been on my list for a while now. I put it on the VFP 7 Wishlist.

SET SWAG ON
I don't we're going to get it anytime soon because of the variant nature of VFP's memory variables. Structures need to exist in a contiguous memory space. Because all variables are variants, exact memory space can not be allocated for those variables. Variables get moved around as the value changes and more/less space is needed.

When VFP actually implements strong typing for variables (VFP 7 only has it for Intellisense and Type Library purposes), we'll probably get it. JMO.

SET SWAG OFF
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform