mike - i've had this problem forever with both D5 and D7. i also have a very large windows EXE (that can't be broken into DLL's because of a bunch of legacy crap). i started having this problem long before i bought DevExpress. my best guess on this problem says that Delphi doesn't like really large EXE's. i have to do a build (which crashes) and then a make (which finalizes the compile) via the command line dcc32 in order to do production releases. from the IDE, i can never run a build, but i can usually run a make. if i make a base library change i can expect to do a make (crash the IDE), close & restart Delphi, and then make again.
in regards to Dan's comments on memtest, i think you should give it a shot; however, in my case i have 5 different computers it happens on, all of which pass memtest. the OS has been tested from Win 98 (back when it first started being an issue) through Windows XP SP 2. it's clearly a Delphi issue. to make matters even uglier, i have to turn off code completion, tool tips, etc. in order to be able to effectively use the ide. i typically use SemWare's TSEdit to edit my code and only use the IDE to design forms. i've had Delphi crash with out of memory errors, error writing to stream, access violations, internal errrors, etc. these errors can randomly corrupt my pas/dfm files, corrupt my Delphi licensing, corrupt my Delphi component palette, and/or corrupt the dsk/cfg files. typically, the error causes no corruption and just is a pita. all of these problems immediately disappear if i work on a different project that has a final EXE size < 20MB. Not that my problems help you any, but I definitely feel your pain. We've seen positive improvements by reordering the compile path, reducing the number of units compiled at a time, using the command line compiler, and reducing the complexity of the uses. Let me know if I can give you any other tips. m
__________________________________________________ Delphi-Talk mailing list -> Delphi-Talk@elists.org http://www.elists.org/mailman/listinfo/delphi-talk