If they screw in, try this, heat to about 500 degrees (handy-dandy HF IR temp gun comes in nice, here) then hold a beeswax candle up to the stud, let the wax wick into the threads near the base. let cool, and remove with vice grip pliers. If it's a hammer in stud, use a brass drift, and whack...