My wife and stepdaughter had different last names when they applied for the Visa and there were no problems. The biological father in our case was not mentioned on her birth certificate. I believe your friend may have to prove that her ex husband has no parental responsibilty and/or is happy for his child to come to the UK.
Not sure of the links but I am sure others on here will be able to help.