The problem of calling a class member function solved!!!