I have read in my book that d'Alembert's principle states:
The reversed effective forces and the impressed forces at any point of a system are always in equilibrium.
Now when I opt to study Lagrangian mechanics I have seen a new version of d'Alembert's principle in the light of virtual work. I hardly find the similarity between these two. I cannot relate them in anyway.