I coded
CCKeypadDelegate pDelegate = new CCKeypadDelegate;
CCKeypadHandlerpHandler = CCKeypadHandler::handlerWithDelegate(pDelegate);
this cannot work since pDelegate is not object and the dynamic cast in initWithDelegate cannot work.
this obviously fail for the same reason
pDirector->getKeypadDispatcher()->addDelegate(pDelegate);
so how do you install a CCKeypadDelegate in a CCKeypadHandler?
I am lost
Andre