Attempted to read or write protected memory. This is often an indication that other m

Discussion created by phani99 on Aug 24, 2011
Latest reply on Aug 29, 2011 by phani99

I am generating grids through lines, when i m going to construct polygons using those lines I am getting this error, I am able to construct polygons in 1st level from 2nd level onwards I am unable to construct.
But if I add some lines in same feature class by manually, in all levels I am able to construct polygons.

I am using  IFeatureConstruction Interface, Based on selected lines i am constructing polygons..

"objFeatureConstruction.ConstructPolygonsFromFeatures(null, objPolygonFeatureClass,                    objProcessingBounds, false, false, objEnumFeature, invalidArea, -1, objPointFeatureClass); " -- Error Line

Thanks in advance