Whenever I stop the Galileo IDE from Delphi 2006 under Vista, I get
Microsoft Windows
Borland® Developer Studio for Windows has stopped working
A problem caused the program to stop working correctly. Please close the program.
[Close the program]
followed by some dialog by data execution prevention. Even excluding the program from DEP doesn't help.
How can I prevent this from happening?
Reacting on answer: Changing to another version of Delphi is not an option, as we develop a framework for our customers that has to run on Delphi 7 - 2007. Our main customers use Delphi 2006. Delphi 2009 is not yet been decided upon, as we have tons of code that has to be ported to unicode. We have to do extensive testing under Delphi 2006, no way around that.
99.954% of all shutdown errors in Delphi are caused by a poorly written component or expert. Do you have components that you think might be the problem?
You can try removing component sets and other plugins one at a time and see if that reveals the culprit. Or you could try starting a second instance of the IDE and attach it to the first and use the debugger to see if it reveals any clues as to what is causing the problem.