Dan: could you give some more details of the memory leak you're seeing? Is memory constantly going up when just playing songs, or when switching songs? Also, are you using process explorer (http://technet.microsoft.com/en-us/s.../bb896653.aspx) or windows task manager? Task manager improperly reports REAL memory usage. It repots cached memory size which is allocated and deallocated by the OS realtime iirc, real memory usage is privately allocated bytes which should not being going up. I'll look into it.
Thanks for the comments! Separate backgrounds for buttons shouldn't be too difficult to implement I'll look into it since you're the second person to mention it :)
Yeah I just had a quick look in Task manager and it was just going up while playing music, but in PE the private bytes stay at around 175288 K so I guess its ok.
That's likely due to the way that I pass the song position around. The memory locations move around but the actual memory used doesn't go up any. If any other program needs that cached memory windows will clean it up automatically for it.