Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
C Structures and VFP
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00522430
Message ID:
00522526
Vues:
9
>>Based on what you've given us, I'd say the above declaration is also correct. If I were to hazard a guess as to what the problem is it would be that the declaration of the structure should indicate a pointer to the structure member identified as the char type. That's strictly a guess, but it would explain the invalid parameter message since, in this case the structure itself would only be 32 bytes long.
>

>Which means I'm probably SOL. Is there a way to allocate memory (by API), assign it and send the pointer to the function through VFP? [Hopefully made easily available for us in VFP7 SP1 :) ]

You could use Ed Rauh's Heap Allocation Class for this. Also Christof Lange's API-Structures in VFP does this as well.

The question now is whether or not that should be a pointer. Their tech support people should be able to tell you.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform