Jump to content

Need help with DDE


 Share

Recommended Posts

Hello,

I am using AutoIT3 to write a small DDE server program and used the Sample Server script found in this UDF: DDEML UDF

My client program is a .NET app (which I've written using C# using NDde.dll). I've gotten the AutoIT UDF server program to accept client.Execute() commands from my client, but I need to know how to configure the server to send data back to the client in response to a client.Request() command. The structure of the NDde client.Request command is: client.Request (string Command, int Timeout). That command should return data (from the server) in CF_TEXT format.

Alternatively, NDde has a client.TryRequest() command I could use with the structure: client.TryRequest( String item, Int32 format, Int32 timeout, out Byte[]& data)

where: item = An item name supported by the current conversation.

format = The format of the data to return

timeout = The amount of time in milliseconds to wait for a response

data = Data returned by server application

I can use either one of these commands, depending upon which one is supported by the AutoIT DDEML UDFs.

Thanks in advance.

Keymaker

Edited by Keymaker
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...