Problem with IGeometryGag

415
1
05-28-2012 04:11 PM
Highlighted
New Contributor
Hello,

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?
0 Kudos
1 Reply
Highlighted
Occasional Contributor
It is difficult for anyone to provide you with an answer without additional information:

ArcGIS version?
Post the code you are using?
0 Kudos