Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Parameter as structs
Message
 
 
À
18/05/2001 19:46:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00508835
Message ID:
00509059
Vues:
21
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform