>Ok, I keep getting an error after a few runs of my program that disappear >if I quit FB and then reopen it. So I must be trashing just stuff inside >my app/FB. In Macsbug I get an error when it tries to _DisposeGDevice > >Now, I have two windows, two gworlds (one of which is huge) and it seems to >be fine the first coupla runs. It only happens when PG pops up with "Not >enough memory to make GWorld" - thing is I _know_ that there is enough >memory free. So I must be hosing something. > >Does anyone have anything I should look for in my code to find the source >of this problem? I think I've got everything in order, but obviously I'm >missing something. Make sure you create your Window first; then create a gWorld. I don't understand why, but you need a window open before you create a gWorld. The other thing I would suggest is to allocate at least 8M if you're seriously going to be working with gWorlds. HTH... ~ An FB revolution? I am there! ~ -- Terence Jordan (tatewake@...) Inspired Software. http://inspired.netstreet.net/ Macintosh, Dos, Windows, and BeOS software solutions. Phone: 407-728-7563 .................................... .MacSloMo: 6502 emulation in FB! . .http://inspired.netstreet.net/POC/. ....................................