When I upgraded from the trial to full version of MapSuite Desktop version 3.1.299, I started getting AcessViolationException exceptions when I call _Map.Invoke when _Map.InvokeRequired is true. This happens for both builds in Debug and Release mode. When I run my application in the debugger, it runs fine and has no problem (both Debug and Release compiles).
Here are the stats on the two key DLLs that I am using:
- DesktopEdition.dll, 276,480 bytes, modified Nov 16, 2009 at 12:57:56PM, file version 3.1.299.0
- MapSuiteCore.dll, 1,655,808 bytes, modified Nov 16, 2009 at 12:57:28PM, file version 3.1.299.0
Note that I changed no code. I also noticed this happended on some sample projects. Specifically, the TestGenerateTilingImages sample, though not for an Invoke call.
Has anyone else seen this? My .ZIP file seemed fine, so I'm not sure what the deal is here. I could refactor my code to not use Invoke calls, since they are kind of inefficient, but my concern is that I have an issue that will show up elsewhere.