Hi, I am finding this thread very interesting to follow but I am surprised that nobody mentioned const_cast<> as it is the official way to cast away the volatile specifier. Is this because the problem is in C? Greetings, Olivier Langlois http://www.olivierlanglois.net