This Thesis concerns the development of two different applications of energy-dispersive X-ray absorption spectroscopy at the ESRF: time-resolved studies pushed to the microsecond time resolution and high-pressure studies at the limit of the Megabar pressures. The work has been developed in two distinct parts, and the underlying theme has been the exploitation of the capabilities of an X-ray absorption spectrometer in dispersive geometry on a third generation synchrotron source. For time-resolved studies, the study of the triplet excited state following a laser excitation of Pt2 (P2O5H2)4^4− has been chosen to push the technique to the microsecond time resolution. In the high-pressure part, the suitability of the energy dispersive X-ray absorption spectrometer for high-pressure studies using diamond anvils cell is stressed. Some technical developments carried out on beamline ID24 are discussed. Finally, the most extensive scientific part concerns a combined X-ray absorption and diffraction study of InAs under pressure.