5 - 12
{
// Always turn things off!
padStop();
padOff();
PostQuitMessage( 0 );
break;
}
case WM_CHAR:
{
DestroyWindow( hWnd );
break;
}
default:
{
return DefWindowProc( hWnd, Msg, wParam, lParam );
}
}
return 0;
}
PadCom Sample Source Code for the Magnetic Stripe Reader (MSR)
The sample code for reading an MSR attached to a Transaction Team device is provided for various platforms below. The
source code is only supplied for demo purposes and is NOT a part of the SDK installation. There are numerous ways to
capture MSR from Transaction Team devices and the demo code simply shows one of these. Hand Held Products does not
necessarily claim that this is the best way to read MSR data.
PadCom MSR Sample Code for DOS:
//
// ********************************************************************************
// ********************************************************************************
// ** **
// ** MSR.C **
// ** **
// ** This is a sample program showing how to use the Magnetic Stripe Reader **
// ** hardware available on some Transaction Team devices such as the Transaction Team 3100 Series
Summary of Contents for PadCom TT1500
Page 1: ... PadCom Point of Sale Terminal Control Library U s e r s G u i d e ...
Page 88: ...4 2 ...
Page 129: ......
Page 130: ......
Page 131: ......
Page 132: ... PadCom UG Rev A 4619 Jordan Road P O Box 187 Skaneateles Falls New York 13153 0187 ...