We extend recently developed schemes for field quantization in absorbing di
electric media with local susceptibilities to dielectric systems described
by a nonlocal susceptibility, in order to quantize the electromagnetic fiel
d in quantum wells embedded in planar semiconductor microcavities. As an ap
plication of the formalism, we analyze the effects of the propagation throu
gh a semiconductor microcavity on a continuous-mode squeezed coherent state
. In particular, we calculate the variance of the field transmitted through
the microcavity in the case of strong coupling regime for different detect
ion schemes, as a function of the detuning, the exciton-photon coupling and
the exciton homogeneous broadening.