>>>>While they're at it, could they also make VFP read a C header file? :-)
>>>
>>>Ooo...I like this. Probably the only constraint would be that the header didn't contain any macro definitions.
>>
>>Can you say 'Union'?
>
>Yep, and unless the good folks at the Foxteam really did some work (of course, Calvin
is on vacation, strucutre definition and probably some more stuff couldn't be included.
It's fairly complex - you really need to write a parser using tools like lex and yacc to handle this. Christof's STRUCT creates a mappable string expression that could reflect part of the typedef syntax, so that's a possible approach; VB's structure, which is far richer than what we have, doesn't auto-map typedefs, and presents far fewer problems.