Hey Morton,
I'm glad you replied. I did find your post, and I was excited when I did. But when I went to implement the code, I realized that the name Flex is ambiguous becuase the name is used for both the struct definition and the type definition. If you change the type definition to something else, your code doesn't work. If you take the typedef out entirely is works the same as if the typedef were left in with the ambiguous definition. Once I realized that I was back at square one.
Any other suggestions?
Thanks