Click here to Skip to main content
16,016,229 members
Please Sign up or sign in to vote.
1.67/5 (3 votes)
See more:
Hi all,
I am a newbie to this delphi programming. I have been given an assignment that to make program for a Magnetic card reader that can be integrated with a kiosk ticketing machine, so that the customers can swipe card and take tickets. But the problem is that I couldnt even find an example program at all related to this. So I am really looking for a help including a sample code. Any help would be appreciated.
Thanks in advance.

Cheers,
Sreenath Krishnakumar
Posted
Updated 15-Aug-13 1:23am
v2
Comments
[no name] 15-Aug-13 7:25am    
Did you try asking the manufacturer of the reader?

1 solution

Most of the mag stripe readers have a driver that will write the data direct to any window that has focus and the reader is active all the time.
The simplest way is to have a hidden edit control that can accept the data when card is swiped.
You may need to find the calls to turn the reader on and off so you can't get data when it is not wanted. They can vary slightly depending on the reader.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900