Suppose $M$ is an $n$-dimensional manifold, and $\omega \in \Omega^p(M)$ is a closed $p$-form. Moreover, assume that $d\omega = 0$, so that it represents a de Rham cohomology class.
I would like to understand the meaning of the following sentence that I read in a book about geometric quantisation: $\omega$ represents an integral cohomology class.
Here's what I thought: we have the Poincaré isomorphism $\Phi : H_{dR}^p(M) \rightarrow {H_p}(M, \mathbb{R})^*$, where:
$$H_{dR}^p(M) = \text{$p$th de Rham cohomology group;}$$ $${H_p}(M, \mathbb{R}) = \text{$p$th differentiable singular homology group;}$$
and the star denotes the dual. This isomorphism is given by integration of the given form over the corresponding $p$-cycle.
Now, since we have a natural inclusion ${H_p}(M, \mathbb{Z}) \subseteq {H_p}(M, \mathbb{R})$, I could say that $\omega \in \Omega^p(M)$ represents an integral cohomology class when $\Phi(\omega) \in {H_p}(M, \mathbb{Z})$. But this is basically saying that the integral of $\omega$ over any differentiable $p$-cycle is an integer. Surely this cannot hold, except for trivial cases. So what does it mean to represent an integral cohomology class?
I would also like to know: when does the volume form of a closed manifold represents an integral cohomology class, and why?
Thank you.