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

387
1
08-24-2011 09:20 PM
PhanindraDulam
Emerging Contributor
Hi,

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
0 Kudos
1 Reply
PhanindraDulam
Emerging Contributor
Hi All,

Error while constructing polygons from selected lines is displayed only 2nd time.

The grid lines are generated at 500X500 squares and able to construct the polygons. We want to construct polygons inside the polygon again with 250X250 square then the 'COM' exception is getting raised.

Please refer the attachement for details on sequence.

The ArcGIS and .NET versions are below.
1. ArcGIS Desktop 9.3.1
2. VS.NET 2008 (C#)
3. ArcSDE 9.3.1 on Oracle 10g

Please let me know if you have any ideas since it is a burning issue from last 4 days. It would be a great help.

Regards,
Phani
0 Kudos