The elements of m_arrRecord are pointers and not objects of SRecord type.
So, you have to pass sizeof(SRecord*) and not sizeof(SRecord).