> Indeed, I discovered this when I was trying to implement delegates and > of course, I re-wrote our code to do this but did you change something ? > :-) Empirically I think that these are some of the rules: * Enumerations need to be defined first. * Any structures on which a class depends need to be defined second. * If anything is nested, then the container needs to be queued for closing before. Miguel.