This CLASS statement asserts that the class is DERIVED FROM itself. This action is not supported. Either remove the clause, or name another base class.