[python-win32] dde server creation error : [Errno 22] invalid argument
Bob Klahn
bobklahn at comcast.net
Wed Jul 18 12:33:25 CEST 2007
I've written a Python program that uses DDE. The program runs quite
nicely on my XP SP2 PC. I'm using Python 2.5.1.
But when a friend of mine tries to run it, he gets the subject error
on the server.Create line:
server = dde.CreateServer()
server.Create("CC_DDE")
My friend also has XP SP2, and is using Python 2.5 ; I've asked him
to upgrade to Python 2.5.1.
What are possible causes of this problem?
BTW, what's the purpose of the Create() argument? My friend gets the
invalid-argument no matter what literal he puts there; I can use the
same arguments he's tried without a problem.
Googling this, I also found that Create() can take a second argument,
an integer, but I don't know what that does. If these arguments are
documented somewhere on the Web, please clue me in.
Bob
More information about the Python-win32
mailing list