If I import the dde module after importing the win32ui module, the error generated tells me to import the win32ui module.
I get the same behaviour for builds 215 and 216
Below is a copy of a real session
Python 3.1.3 (r313:86834, Nov 27 2010, 17:20:37) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import win32ui
>>> import dde
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: This must be an MFC application - try loading win32ui first
object 'PyCWinApp' - assoc is 000000000247D150, vi=<None>, notify=0,ch/u=0/0
Looking at the source code, the import error from the dde module appears to be generated because there is no CWinApp being created
by the win32ui import, but the call to win32ui.GetApp() seems to show that there is one created.