That's very odd. I tried deleting each of the game.xxx files one by one, then some together, then all of them, and SCI Studio didn't come with any error.
I've been building in on XP, which a lot more stable, so that would explain things. However, I have tested it on Windows95 and 98, and everything worked fine. To top it off, I didn't just test it out at home, but also at school and elsewhere.
I'm thinking I might need to redesign the resource table system, making it not load all the resource info up at once. It would be a lot of work and make SCI Studio slower though.
My main concern is that it better not have to do with the script editor's edit control, as it was written by SynEdit. If it has problems, I wouldn't know where to start. It contains a massive amount of code.
I've been working on adding some suggested features: multiple undos, the ability to select a region to cut, copy, paste and drag in the view, font and cursor editors, and so forth. I guess I'll move on to the bug fixes though.
On another note, when SCI Studio loads, it only takes up 5mb of memory (which is still a fair amount IMO). When I load the template, it takes up 8mb. This is really only due to all the controls, buttons, list views, etc. It doesn't even load the whole game, just the 1KB map, and some resource info from the packages (about another 1KB). The unfortunate thing is that Borland ignores memory limitations and bloats everything with junk. If I had started from scratch, I probably wouldn't have used Borland C++Builder, but since it's got over three years of work in it, I'm not going to rewrite it in something else.
There are a number of times when I've come across Borland bugs and need to work around them. It gives me serious headaches. Aw well. I guess no compiler is perfect.