GM_ExportWebFormat() hangs

oic_chrisoic_chris Global Mapper UserPosts: 12
SDK v18.2.1 32-bit
Visual Studio 2013
Windows 10

Aloha!

The function GM_ExportWebFormat() hangs when attempting to export Web Tiles (OpenStreetMap).  Please see the attached test VS2013 project.  Upon executing GM_ExportWebFormat(), a progress dialog pops up and does not change from 0%.  After a short moment, you can no longer interact with it and Windows marks the application as "Not Responding".  In a previous version of the SDK (v14.2), the export proceeds successfully.

On a side note, if the line with the GM_ExportWebFormat() call is commented and the project is run from the VS2013 debugger, an unhandled exception occurs.  This happens upon exiting the main() function and trace places the it in a function call within the GM DLL with the following error:

Unhandled exception at 0x7793507C (ntdll.dll) in gm_export_hang.exe: 0xC000000D: An invalid parameter was passed to a service or function.

This does not occur if the application is run from commandline or launched from Windows Explorer.

Much mahalo!

Answers

Sign In or Register to comment.