Grieck

OnCreate event

Discussion created by Grieck on Jul 8, 2010
Latest reply on Jul 11, 2010 by Alagappan
Hello,

Does anyone have any suggestions on why IObjectClassEvents.OnCreate is not being caught by an SDE database?

The same code works fine for a PGDB, yet fails when tried against an SDE SQL database. I have also implemented IObjectClassInfo and verified my DLL's are registered and present using Categories.exe. However, IEditEvents.OnCreateFeature is captured in both a PGDB and SDE. Is there any harm in having both events active and passing IObject from IEditEvents.OnCreateFeature to IObjectClassEvents.OnCreate?

G

Outcomes