I program in C# with Mapguide 6.5 activeX, and, like some many people i have problems when i want work with Windows Vista and Windows 7.
Well the problem can be resolved with this:
In computer where the program is developed, we need disable DEP (Data Execution Prevention). DEP exists on windows XP, but by default is disable, but in Vista or 7, is enable.
To disable we just need do the next line in command line with administration privileges:
bcdedit /set {current} nx AlwaysOff
and for run in other computer we need to do:
editbin /NXCOMPAT:NO ourfile.exe
editbin exists in Microsoft Visual C++ 2008 Express Edition
if anyone want see my program: http://sig.cm-portimao.pt