Hi,
I was able to reproduce it building your code on the command line - I believe the reason was an incompatible C lib. Once I switched to the DevStudio the problem was gone. So maybe both of us suffered from a wrong build setting? Could you send me exact info so I can reproduce your build (command lines/Makefiles/VCProj etc)?
Axel.
works for me. Note that I switched from /MDd to /MD in the compiler settings, asking for the C library which is compatible with the ROOT build. This might well be the problem.