E2351 Static data members not allowed in __published or __automated sections (C++)
Go Up to Compiler Errors And Warnings (C++) Index
Only nonstatic data members and member functions are allowed in __published or __automated sections.
Example:
struct__declspec(delphiclass) clxclass { __published: static intstaticDataMember;// Error };