471,326 Members | 1,868 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,326 software developers and data experts.

DDE error Poke Failed


First of all I am a beginner with python and I am a bit fooling around
to check wich possibilities I have. I'm trying to get some data to an
internal developped application.

Server: DDE
Topic: SCSDDeServer
Item: SendCustomerData
Item data: value, value, value

I got the following code

import win32ui, dde
server = dde.CreateServer()
conversation = dde.CreateConversation(server)
conversation.Poke('"SendCustomerData", "S1234567,,"')

When I run this I get

Traceback (most recent call last):
File "U:\python\scs.py", line 6, in <module>
conversation.Poke('"SendCustomerData", "S1234567"')
error: Poke failed

Am I doing anything wrong? Or is it possible that the SCS application
only accepts pokes from a specific program?



Sep 15 '07 #1
0 995

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

9 posts views Thread by Berthold Höllmann | last post: by
7 posts views Thread by Matthew Del Buono | last post: by
3 posts views Thread by Angelo Brusati | last post: by
2 posts views Thread by pranas | last post: by
2 posts views Thread by akhilesh.noida | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.