How to listen if com-port is sending data?

Posted on 2006-04-10
Last Modified: 2010-04-05

I want to implement a magnetic cardreader. The cardreader is connected to a comport.
How can I listen within my application if any data is through the com-port (send by the cardreader).
And how to limit the comports that are checked? (only one comport will be used).

After I captured the sending of data the application must be started and the numeric value that is send, must be saved/stored for later processing (searching in a database).

Please supply me with an example.

Question by:Delphiwizard
    LVL 3

    Accepted Solution

    If you have any budget for components, I have tried TMS Async 32

    It works very well.


    Author Comment

    Thank you Ferry.
    I'll keep looking for other solutions.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
    Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

    755 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

    18 Experts available now in Live!

    Get 1:1 Help Now