i stupid forgot to declare it as
void TKeyboard::setWhilePressedCallback

but had it as
void setWhilePressedCallback


the MVS degugger is terrible


PROBLEM SOLVED