Nope...I guess it will matter defining the 10 elements separated.
What you could do is, instead of defining an array of 10 ADDR_REC elements, you could define a buffer to hold them, something like:
Return ;
"TCHAR 0c700:stack"
Where 700 = 70 bytes for each ADDR_REC x 10 elements. I came up with that 70, you will need to actually count how many bytes are needed for each ADDR_REC.
If you decide to go this route, then you probably wouldn't need the ADDR_REC class that I mentioned in my previous message. This single definition (with a large enough buffer) should work.
>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 Correa