Quote:
Originally Posted by jovo  Aha. Finally, some posts regarding the Visual Studio 2008, .NET Framework 3.5 and Mappoint 2006 issue. Where you are getting "Cross-threaded operation not permitted" or other failures when trying to load mappoint on a windows form on a Vista machine.
I have tried the solutions listed in these links and they work! Hooray, my application winforms which uses mappoint 2006 on the workstation now functions for my users.
Here are the links for everyone else
The Blog Entry mappoint Re: Visual Studio 2008 And Mappoint problem
The Fix, due to NCOMPAT bit being set in the excutable I'm just sayin' : NXCOMPAT and the C# compiler
Hope this helps everyone looking around.
Jovo |
Thanks! The NXCOMPAT thing worked for us as well....
The commands to issue in a CMD prompt:
"C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat"
"C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\editbin.exe" /NXCOMPAT:NO "C:\development\myproject\bin\Release\*.dll"
"C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\editbin.exe" /NXCOMPAT:NO "C:\development\myproject\bin\Release\*.exe"
Obviously it would be nice to just set this as an option in the IDE... Any ideas or suggestions from someone out there?
Thanks