- May 18, 2001
- 7,854
- 344
- 126
My company uses Magtek magnetic stripe readers to read information from employee id cards. Most pc's in my company has one of these readers installed. Until recently, we have been using a third party dll to communicate with the readers, but alas, this dll is showing signs of age (it was written for Win95). We have recently been getting a lot of phantom errors from this software (badge reader not detected, etc.)
A few weeks ago I took it upon myself to write a new communications dll using VC++, MFC, and standard API calls. The new dll works like a dream on all pc's except one in our test platform. All these pc's are roughly equivalent - their software configuration has no glaring differences. On the problem pc, the software works in some cases (i.e. it can detect whether or not the reader is present), but when the user is asked to swipe their badge, the badge reader seems to never send any data to the pc. In other words, in my test program I have written code to display the retrieved string from the badge reader in a messagebox. This code never gets fired, which means that the badge reader is never returning any data to the pc.
Does anybody have any ideas? I'm really stumped on this one.
A few weeks ago I took it upon myself to write a new communications dll using VC++, MFC, and standard API calls. The new dll works like a dream on all pc's except one in our test platform. All these pc's are roughly equivalent - their software configuration has no glaring differences. On the problem pc, the software works in some cases (i.e. it can detect whether or not the reader is present), but when the user is asked to swipe their badge, the badge reader seems to never send any data to the pc. In other words, in my test program I have written code to display the retrieved string from the badge reader in a messagebox. This code never gets fired, which means that the badge reader is never returning any data to the pc.
Does anybody have any ideas? I'm really stumped on this one.