1)Unless two or more members object to him joining the club , we shall have to accept the application for membership.
My book said him must be replaced by her/his because gerund is followed by possessive adjective. But in this case object to act as a verb and after verb objective case should be used which is him.
please clarify this doubt.