I just thought I'd add an aside to this...

I have experienced a peculiar situation that perfect working code suddenly won't compile without a stream of compile errors.

Nothing had changed. No code, no compiler versions, nothing.

However, I run my PC 24/7 every day. It NEVER gets switched OFF. I must have maxed out memory (1GB) with a host of applications, and good old Windows XP Pro though working perfectly, somewhere behind the scenes had screwed up.

A REBOOT of the PC and everything was back to normal, but for a while I was wondering what on earth was happening with my code.