Solved

Delphi DDE an ICW

Posted on 1998-11-10
5
346 Views
Last Modified: 2010-04-03
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
0
Comment
Question by:frankarias
  • 3
  • 2
5 Comments
 
LVL 4

Expert Comment

by:dwwang
ID: 1346409
I had programmed DDE in Delphi before, but how could I help you?
0
 

Author Comment

by:frankarias
ID: 1346410
Please post code
0
 
LVL 4

Expert Comment

by:dwwang
ID: 1346411
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
 

Author Comment

by:frankarias
ID: 1346412
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
 
LVL 4

Accepted Solution

by:
dwwang earned 200 total points
ID: 1346413
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

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now