We successfully use the corners of a common silicon nitride supporting window in lensless X-ray microscopy as extended references in differential holography to obtain a real space hologram of the illuminated object. Moreover, we combine this method with the iterative phasing techniques of coherent diffraction imaging to enhance the spatial resolution on the reconstructed object, and overcome the problem of missing areas in the collected data due to the presence of a beam stop, achieving a resolution close to 85 nm.