The camera is only the provider of images for the HDR process.
The processing is done in the computer with a dedicated software such a photomatix, or in Photoshop.
You need to take a number of different exposures of the the same scene with your camera.
Easiest way is to use the Auto-bracketing function on your 400D.