Gah !  Now I see it - why aren't you simply using sizeof(PersistentClassInfo) ?  Adding the sizes of its component members doesn't reliably give you the same answer (the compiler might include some padding in the struct).