I don't have any first-hand experience, so take what I say with a grain of salt.
I have heard the only way it can be done is if you accept the other person exactly as they are without any expectation that they will ever change. If you can do that, you are much stronger than me.
Oh, and I assume it would be absolutely neccessary to have strong boundaries.
L