One day in my Silverlight (out-of-browser) application, I needed to communicate with another program via DDE (Dynamic Data Exchange). Namely when someone else’s application sends data to the DDE channel, my application responds to these data. As you know Silverlight does not support DDE. But in out-of-browser mode COM automation is available.
So, how do I:
1. Create COM visible assembly with DDEClient class and register it.
2. Use COM AutomationFactory to create instance of DDEClient class, subscribe to event and init DDE channel.