>In C++ the structure that I want to create just has:
>ADDR_REC stack[10];
Did they give you a header file (.h)? If so, the definition for ADDR_REC might be in there (it might be another structure or any of the basic types, e.g. int, char, double.)
>Since mine just says "stack[10]" how do you think
> this would be handled in struct.vcx
It all depends on how ADDR_REC has been defined. Stack[10] means it's an array of ten elements, now we just need to find out what type of elements they are. If the elements are character, then stack[10] will be a string with 10 characters, if the elements are type long, then stack[10] will be a string with 40 characters (10x4.) If the elements are another structure itself then it gets more complicated.
>Any ideas would be greatly appreciated.
> I'm not a C++ programmer so I'm a little
> lost here.
It has been years since I worked with C/C++ myself and I am rusty by now. I was working on some calls to the Windows API last night and I found this excellent web site with lots of API definitions and examples. Take a look at:
http://www.news2news.com/vfp/index.phpAlso, take a look at:
http://fox.wikis.com/wc.dll?Wiki~Win32API~WIN_COM_DNA
Hector Correa