Is this one of the examples from the book? If so, I'm not seeing it. I highly recommend downloading the book's source code from
http://www.wrox.com/WileyCDA/WroxTit...-DOWNLOAD.html, rather than attempting to type the code in yourself. Using the downloaded code eliminates the risk of typos and will make your learning experience far easier

. Please let me know if this answers your question. I'll be more than happy to help in whatever way I can.
John