Mlody87
Mlody87

Reputation: 435

Delphi DDE Callback

I would like to receive Item to my DDE Client in Delphi every time when Item is changing. I know that is function DDE Callback. Can you tell me how I should use it? Hawe you maybe some code examples?

-- Pawel

Upvotes: 0

Views: 729

Answers (1)

Uwe Raabe
Uwe Raabe

Reputation: 47869

In case it really has to be DDE:

  • Place a TDdeClientConv and a TDdeClientItem onto a form.
  • Connect the TDdeClientItem to the TDdeClientConv.
  • Set the ServerApplication, DdeService, DdeTopic and DdeItem properties according to your needs.
  • Implement the OnChange event of the TDdeClientItem. The current value can be read from the Text and/or Lines property.

Upvotes: 3

Related Questions