Hmm...This is really wierd. I guess I will have to look harder at all the files to see if I am missing something somewhere. It fails in both g++ and vc++ 6, so it's not a compiler problem. VC++ 6 says that I don't have the header files included so the type isn't recognized, but I do have the headers. Maybe I will try taking out the singleton, but if you want to take a look at the code, I gave it above in another post. Thanks for your help guys.