If you look at include/windows.h, you can see that there are DDEML functions. You can use that to do DDE.

To use, google DDEML. (Not beginner territory, though.)