Quantcast
Channel: MapWinGIS ActiveX Map and GIS Component
Viewing all articles
Browse latest Browse all 2341

New Post: Exception when using Shapefile.Table.Query()

$
0
0
Hi,

Yes the VS2010 Configuration setting is for x86. The App builds and runs. The problem is when I call the Shapefile.Table.Query() method to retrieve a record from the tabular data (which I subsequently zoom to on the map).

This morning I re-installed the MapWinGIS 4.8.8.1 components and tried again - same problem.

So I built a new VS2010 app and placed a MapWinGIS Map Control on the form. Copied the necessary code from the old project to the new project and it works fine!

So now I am thinking of just moving everything to the new project and forgetting about the old project, but I certainly would like to know how the old project got into the state that it is in where a call to Query the shapefile table throws a 'System.Runtime.InteropServices.SEHException' and chews through memory, thereby leading to an OutOfMemoryException.

Charlie

Viewing all articles
Browse latest Browse all 2341

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>