Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Struct.vcx cMembers
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
00546561
Message ID:
00547262
Vues:
8
>My guess, and again, this is only a guess, is that you will need to create a ADDR_REC class (similar to WIN32_FIND_DATA in WinStruct.vcx) and define ADDR_REC in the getcmemebers method with something like:
>
>
>Return ;
>	"TCHAR 0c1:detail_code," + ;
>	"TCHAR 0c6:zip_code," +;
>	"TCHAR 0c11:update_key," +;
>        "TCHAR 0c1:action_code" +;
>        all the other memebers of ADDR_REC
>
>
>
>Then, You will create another class on the getcmembers of this new class you will input:
>
>
>Return ;
>	"ADDR_REC o:element1," +;
>	"ADDR_REC o:element1," +;
>        ...
>	"ADDR_REC o:element10"
>
>
>Although here the 10 elements are listed separated (instead of an array like in stack[10]) I think it won't matter, since what in fact you need is a buffer to hold 10 elements of type ADDR_REC.
>
>Keep in mind, though, that I am not very good at working with this stuff. Perhaps there are other much simpler ways to define what you need than what I am proposing here.

Hector,

The logic of this approach makes sense. I'll try this out as soon as I'm free and let you know how it goes. I'll post the final solution to this thread in case someone else runs into this in the future.

Thanks again for your input.

Ed
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform