========================================================================
       CONSOLE APPLICATION : EmvExample
========================================================================


AppWizard has created this EmvExample application for you.  

This file contains a summary of what you will find in each of the files that
make up your EmvExample application.

EmvExample.dsp
    This file (the project file) contains information at the project level and
    is used to build a single project or subproject. Other users can share the
    project (.dsp) file, but they should export the makefiles locally.

EmvExample.cpp
    This is the main application source file.


/////////////////////////////////////////////////////////////////////////////
Other standard files:

StdAfx.h, StdAfx.cpp
    These files are used to build a precompiled header (PCH) file
    named EmvExample.pch and a precompiled types file named StdAfx.obj.


/////////////////////////////////////////////////////////////////////////////
Other notes:

AppWizard uses "TODO:" to indicate parts of the source code you
should add to or customize.

/////////////////////////////////////////////////////////////////////////////


EMV Kernel Example using:
1) Establish USB smart-card reader and driver for it.
2) Execute EmvExample.exe
3) You can see the message in console window about selected smart-card reader.
   Please note, you can see dialog for reader selection, if on your computer more than one
   readers is present.
4) If the reader has been chosen you should see the invitation for card insertion into reader.
5) After card insertion you should see trace about using of interface functions:
   - emv_fSelLang...      -it is message from body of function emv_fSelLang();
   - emv_fAppSelected...  -it is message from body of function emv_fAppSelected();
   - emv_fGetTrData...    -it is message from body of function emv_fGetTrData();
   - emv_fGetCryptPin...  -it is message from body of function emv_fGetCryptPin();
   - emv_fHostSwop...     -it is message from body of function emv_fHostSwop();
6) In end of transaction you can see result value from EMV Kernel 
   and list which show conformity.

Please note, that in the body of function emv_fAppSelected() start of thread 
for creating amount, currency and transaction type in other thread.

It is made for continuing to read card during inputting
amount, currency and transaction type.

You can clear body of function emv_fAppSelected() however in this case you should to establish amount, currency and transaction type 
in body of function emv_fGetTrData(); directly.




Using USB Card readers:
	Please remove file "reader.txt"
	or
	close all strings with value:
Smart Card Reader Name Len          //:1A                                   //
Smart Card Reader Name              //:Athena ASEDrive IIIe USB 0           //
Smart Card Reader Name Len          //:0C                                   //
Smart Card Reader Name              //:ACS ACR38U 0           //
Smart Card Reader Name Len          //:0D                                   //
Smart Card Reader Name              //:Sankyo ICT3K5		//
Smart Card Reader Name Len          //:0F                                   //
Smart Card Reader Name              //:Neuron MSA-790S		//
COM Port Name Len                   //:04				//
COM Port Name                       //:COM1			//
	
Using ICT3K5 reader:
	Please open strings:
Smart Card Reader Name Len          :0D                                   //
Smart Card Reader Name              :Sankyo ICT3K5		//
and
COM Port Name Len                   :04				//
COM Port Name                       :COM1			//

in file "reader.txt":	
Smart Card Reader Name Len          //:1A                                   //
Smart Card Reader Name              //:Athena ASEDrive IIIe USB 0           //
Smart Card Reader Name Len          //:0C                                   //
Smart Card Reader Name              //:ACS ACR38U 0           //
Smart Card Reader Name Len          :0D                                   //
Smart Card Reader Name              :Sankyo ICT3K5		//
Smart Card Reader Name Len          //:0F                                   //
Smart Card Reader Name              //:Neuron MSA-790S		//
COM Port Name Len                   :04				//
COM Port Name                       :COM1			//
