Actually, MrSkaizo is correct. The trainer does work with both 1.39 and 1.40. Infinite Items still doesn't work, but the rest of the cheats do.
What you have to do is start the game, load your saved game, and then run the trainer and use the cheats. If you run the trainer before starting the...