English

Problem: Cannot edit a feature class or table that has a class extension implemented in C++

Description

When performing certain operations (modify, create, delete), errors occur indicating that the edit operation is failing.

Cause

When developing class extensions that implement IObjectClassEvents methods on Geodatabase object classes in C++, the methods for OnCreate, OnChange and OnDelete must return successfully. If they do not, the error they return will be chained to the calling application (ArcMap) and the edit operation is aborted.

Solution or Workaround

The methods on IObjectClassEvents that are not implemented should return success.