With Madame Melmotte she had to go out in the carriage every day. Indeed she could only go to those parties to which Madame Melmotte accompanied her. 
She had to go out in the carriage with her every day, and could only go to parties if Madame Melmotte accompanied her. 