DDE error Poke Failed

X

xcarma

Hi

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()
server.Create("test")
conversation = dde.CreateConversation(server)
conversation.ConnectTo("SCS","SCSDDeServer")
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?

Regards

Maarten
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Python and DDE 0
DDE 1
DDE Module for Python 3.1.2 3
DDE (eSignal) 3
DDE client help 0
Python, DDE and Callbacks 0
DDE syntax help 0
win32ui DLL Load Failed 6

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top