Ron,All I'm saying is, the work W required to lift (raise) a mass m (on Earth), at a constant rate, by a distance d, is W= m*d*G, where G is the acceleration of gravity on Earth.
The force required to do this is m*G, which is, of course, the weight of the object.
That was not clear from your post. Also, the weight is m, not m g.
Another point that I forgot to add is that if the force is not constant, then we have to use W = ∫ F . dx integrated between 0 & d.