I'm running 64-bit Python 2.7.13 under Windows 7, and I've installed build 220 of Mark Hammond's package.

When I try this:
    import win32ui, dde
from a Windows 7 command window, I receive the message "This must be an MFC application - try 'import win32ui' first".

I get the same message when I try three separate imports, in this order:
    import win32ui
    import dde

When I try the same import statement from  PythonWin, it succeeds.
And when I follow that up with
    server = dde.CreateServer()
that succeeds as well.

But when I follow that up with
    server.Create("any text here")
I get this:
    Traceback (most recent call last):
      File "<interactive input>", line 1, in <module>
    error: The server could not be created

What I really need is for dde to work from a Windows 7 command window, but I can't even import it.

Help!
_______________________________________________
python-win32 mailing list
python-win32@python.org
https://mail.python.org/mailman/listinfo/python-win32

Reply via email to