Both these dishes are the same and there is no difference, although there are several variations of making it. Also, dal tadka is topped with a tempering/seasoning just before serving whereas it is skipped in dahl fry.