Question

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.

Was it helpful?

Solution

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.

OTHER TIPS

I'm not familiar with this specific issue, but I do know that D2006 had tons of stability problems in general, leaked hundreds of megs of memory and crashed on me very frequently. You ought to upgrade, to D2009 if you can, or D2007 if the requirement to convert all your code to Unicode would just be too big of a hurdle. Both were written specifically with Vista support in mind, while 2006 wasn't.

Do you have GExperts installed? I suspected that when I had D2006 shutdown problems. It's not just a vista problem. It just manifests itself differently in xp.

Try closing all open projects before shutting down (Close All from the file menu).

I had a similar problem with D2006 under XP, and closing everything seems to prevent it (some sort of race condition?)

Note: We don't use many third party components.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top