GM_LayerInfo crash on a DNC (LHT file) chart
Aloha Mike!
I've updated our GM SDK to the latest on the download page (6/27/2013) and I seem to be running into a crash. After a successful call to GM_LoadLayerListEx on a Digital Nautical Chart (using a LHT file), a call to GM_GetLayerInfo on the returned GM_LayerHandle_t32*, causes a crash. I receive an "Access violation reading location 0x0000000000000000" error message.
Misc: I get the same result when using the 32 or 64-bit DLL.
Mahalo!
Chris
I've updated our GM SDK to the latest on the download page (6/27/2013) and I seem to be running into a crash. After a successful call to GM_LoadLayerListEx on a Digital Nautical Chart (using a LHT file), a call to GM_GetLayerInfo on the returned GM_LayerHandle_t32*, causes a crash. I receive an "Access violation reading location 0x0000000000000000" error message.
Misc: I get the same result when using the 32 or 64-bit DLL.
Mahalo!
Chris
Comments
-
Ahh! Please change GM_LayerInfo to GM_GetLayerInfo, in the thread title. Thank you!
-
Sure enough there was a bug with GM_GetLayerInfo on non-raster layers. I have fixed this and placed a new build at http://www.globalmapper.com/GlobalMapperSDK_v14_latest_beta.zip .
Thanks,
Mike
Global Mapper Guru
geohelp@bluemarblegeo.com
Blue Marble Geographics for Coordinate Conversion, Image Reprojection and Vector Translation
Categories
- 12.8K All Categories
- 5.7K Features Discussion
- 345 Downloading Imagery
- 1.3K Elevation Data
- 385 Georeferencing Imagery Discussion
- 636 GM Script Language
- 54 User Scripts
- 114 GPS Features
- 417 Projection Questions
- 825 Raster Data
- 1.3K Vector Data
- 6.6K Support
- 178 Announcement and News
- 912 Bug Report
- 558 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 569 Other Discussion
- 131 GIS Data Sources
- 27 Global Mapper Showcase
- 238 How I use Global Mapper
- 107 Global Mapper Forum Website