-
December 21st, 2009, 09:37 AM
#1
magnetic stripe reader
I need to produce a program that would process/read a magnetic stripe card within a windows kiosk environment and would prefer doing this in C or C++.
Could someone suggest pointers/recommendations about where one should start?
-
December 21st, 2009, 11:31 AM
#2
Re: magnetic stripe reader
That depends on the type of card reader. Most are of the "wedge" type which simply "wedges" itself between the output of the keyboard and the keyboard input on the PC. In this case, it behaves exactly like the keyboard and programming is done as any program would process keyboard input. Alternatively, some card readers emulate a RS232 device and in that case, you have to open a com port and monitor it for activity. There are dozens of good com port librarys and class wrappers for this. Check out the articles here:
http://www.codeguru.com/cpp/i-n/netw...ommunications/
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|