The Neverending Story by Michael Ende.

I still need to get my hands on that one myself, actually.