> Can anyone tell me how it's done with this pathetic compiler?
Come back when you can tell the difference between a compiler and an API.
Also, come back when you've learnt how to ask smart questions - http://www.catb.org/~esr/faqs/smart-questions.html