[python-win32] can't import dde module after importing win32ui

Tony Seward anthony.seward at ieee.org
Wed Mar 23 17:38:09 CET 2011


I'm having problems importing the dde module.

I get the following results when I'm in the python interpreter

        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
        >>>

I'm on Windows 7 64-bit, using 64-bit pywin32 release 216.  I have tried
Python 3.1, Python 2.7 and Python 2.6.

What am I missing?

Tony

        



More information about the python-win32 mailing list