Can someone give me a link to an example of writing your own dll.

Or an online tutorial on doing so.

Thanks