Thanks to everyone for their help, i am now looking into either using the common c++ library for threading, or using static member functions as suggested. Rohan __________________________________________________________________ Get your free Australian email account at http://www.start.com.au