It seems there might be a more fundamental problem here with glbasic apps on a multi-task capable iPod/iPhone. It's not just down to setting AUTOPAUSE.
The error I mentioned before, that it's trying to write to the screen while it's a background task, happens anyway. This causes the app to error (see the thread I linked) and then immediately terminate when it's brought back to the foreground.
The thing is, it seems a device that DOES have multi-tasking puts an app to the background EVEN if you exit 'normally' with a single tap of the Home button. What this means in practice from all my testing so far is that GLB_ON_QUIT never fires. At all. Ever.
If your device doesnt support multi-tasking, it works like OS3, and therefore GLB_ON_QUIT fires.
Which means that not only can we not support resume, but I can't even write a save state/load state function myself that will work on a newer iOS4 device.
I'm almost inclined to believe that, for some reason I can't fathom, I'm wrong about this... because surely some of you guys have games that utilise GLB_ON_QUIT and you would have been deluged with complaints of saves and stuff not working if that was the case?!
By the way, this is true of glb7 and glb8.
Kitty, do you want me to summarise this in Bug Reports or anything? If what my testing indicates is true, it's quite a big problem!