Is it outputting CC 11 MIDI messages?
Most Soft Synths have a MIDI learn function. Though the method tends to synth s-p-e-cific (Hyphens because the stupid forum software assumes that S P E C is me being racist)
What synth are you try to control expression on?