Problem with IGeometryGag

Discussion created by iaminsu12 on May 28, 2012
Latest reply on May 29, 2012 by richwawr

I have a problem with IGeometryBag interface.

I made a code that loop through featureclass, and inside the loop, I used Geoprocessor class to use georpocessing tools.

During the loop, if it satisfies certain condition, the code run certain additional spatialfilter with IGeometryBag.

But after using IGeometryBag, in the continuing loop, georocessor class does not work. It just make exception "Error HRESULT E_FAIL has been returned from a call to a COM component".

If I remove IGeometryBag, the code just fine.

When I make geometrybag, I used sample code in ArcGIS SDK help. I just changed filenames.

What's the problem?