I posted a question with the Subject "Microsoft Visual C++ compiler,cast problem?" a couple of days ago, and I have now added all the code to the post. I'm not sure if this problem can be fixed due to the diffrences between compilers, maybe? I would be extremely greatful if someone could go back and look at this and help me to find out what I am overlooking.