磁卡读卡器与delphi集成 [英] Magnetic card reader integration with delphi

查看:98
本文介绍了磁卡读卡器与delphi集成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我是这个delphi编程的新手。我已经获得了一项任务,即为磁卡读卡器制作程序,该读卡器可以与自助服务终端售票机集成,以便客户可以刷卡并取票。但问题是我甚至无法找到与此相关的示例程序。所以我真的在寻找帮助,包括示例代码。任何帮助将不胜感激。

提前致谢。



干杯,

Sreenath Krishnakumar

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

推荐答案

大多数磁条读取器都有一个驱动程序,可以将数据直接写入任何具有焦点的窗口,并且读取器始终处于活动状态。

最简单的方法是有一个隐藏的编辑控件,可以在刷卡时接受数据。

您可能需要找到打开和关闭读卡器的电话,这样您就无法获取数据什么时候不想要。根据读者的不同,它们可能略有不同。
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.


这篇关于磁卡读卡器与delphi集成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆