Delphi DDE an ICW

Hi:
I'm writting an application that reads some data from a tracker (Intermec 2090). There's an application for windows
ICW that is DDE compliant. I'm not very used to DDE topics,
how can i download the scanned barcode's data from the tracker directly into my delphi application ?

Thanks
frankariasAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
dwwangConnect With a Mentor Commented:
Just put a DdeClientConv and a DdeClientItem on the form, Set the ddeconv property of the DdeClientItem component to DdeClientConv.

Then you can just execute DdeClientConv.SetLink('ICW','DATA') (normally DATA topic is the one responsable for data trsnferring).

When data is transfer the from the server, the onchange event of ddeclientitem will be called, so you should qrite statements there to read the text/lines of the ddeclientitem for the data.

However, as I remembered, there should be an item property of DDE server, maybe you could check it out. If there is, it should be put to the ddeitem property of the ddeclientitem component.
0
 
dwwangCommented:
I had programmed DDE in Delphi before, but how could I help you?
0
 
frankariasAuthor Commented:
Please post code
0
 
dwwangCommented:
No, things are not that easy. We must know how the data are transfered from the DDE server, the EXE name, the DDE topic/item, and the data format. These information should be provided by the manual of the software/hardware.
0
 
frankariasAuthor Commented:
The exe mane is ICW
there are 2 Topics  SYSTEM and DATA
I don't know what you mean by item and there's nothing
like that in the ICW help file
0
All Courses

From novice to tech pro — start learning today.