I'm getting a very strange error in a project I'm trying to update from V2 to V3 of Desktop Edition. We have our own custom DB spatial storage system using WKB and have used MapSuite to calculate BBox and Area of individual polygons, etc. We also used an older version of NTS, which I upgrade to the most recent through out out code last week without any issues. I've ported the code to V3 of MapSuite and it works fine until I close the ShapeFileFeatureLayer in our test application. A windows exception is thrown, causing the process to be shutdown by windows.
I reference our dll in a stand alone application and no problems happen so there must be some strange interaction with other code in our test app, but I'm at a loss to understand what. I've attached the only error I get when the problem happens (when debugging or not). Attaching to the dying process yields a stack tract that is in native code and looks like in windows dlls. This is running on Vista x64.
This error happens even if I just call Close() right after calling Open(), but only in our test app. I was wondering if you might be able to give me some insight of what is happening in ShapeFileFeatureLayer.Close() to help me identify the conflict that is happening.
I'd send some sample code, but the system is rather large and requires a db setup to run against and I'm un-able to do a simple re-pro.