Also, I think trainers usually operate on the game data while in memory, so you may have to start Divinity first, then the trainer, or start the trainer, start Divinity and switch back to the trainer to activate a cheat.