CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2008
    Posts
    17

    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?

  2. #2
    Join Date
    Feb 2005
    Posts
    2,160

    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
  •  





Click Here to Expand Forum to Full Width

Featured