> Is this a compiler bug or do I understand C++ rules wrong? The latter. The method in the derived class shadows the one in the base class. There are several solutions, please ask in a C++ group, or read a good book on C++. Regards, Martin