We prove an asymptotic formula for the number of integer points in a family
of bounded domains in the Euclidean space with smooth boundary, which remain
unchanged along some linear subspace and stretch out in the directions,
orthogonal to this subspace. A more precise estimate for the remainder is
obtained in the case when the domains are strictly convex.