Hello,

Why might a struct need a field containing the size of the struct (for example, in Windows programming, the first field of the struct WNDCLASSEX is generally set to sizeof(WNDCLASSEX))? Can the size of a struct not usually be found in a symbol table or the like?

Thanks for any help.