Analysis of some magnetic properties of diluted magnetic semiconductors including long-range interactions