Marshal.ReleaseComObject(featureCursor);
Marshal.ReleaseComObject(featureCursor);
causes the button to crash at:
IPolygon5 unionPolygon = topoOperator.Union(arizona.Shape) as IPolygon5;
pg. 285
the code downloads do not include the:
Marshal.ReleaseComObject(featureCursor):
and the button works.
on pg. 287 it works....any suggestions?
Thanks
Robert
|