Start learning Delphi, here is the code , using this book http://book.douban.com/subject/20440113/