Even if you posted this properly ( checked 'ignore HTML tags' ), no-one is going to fix your program for you. Work out which bit is not doing what you expect, post a relevant code snippet and ask specific questions.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog