  Using a recent next-to-leading-order calculation of the photoproduction
double differential cross section for heavy quarks, we study the possibility of
extracting the gluon density of the proton from heavy-quark photoproduction
data. We discuss the theoretical uncertainties connected with this method, and
we conclude that they are well under control in a wide $x$ domain.
