D'Alembert's principle can be applied in cases of kinematic constraints that depend on velocities. The principle does not apply for irreversible displacements, such as sliding friction, and more general specification of the irreversibility is required.