EverKey Example Program for calling the KeyChk DLL from Visual C++

Written Using Visual Studio 2005 and MFC

Last Revised: January 7, 2014

Creating the Rockey Key For the Example Program

    In the Release folder, we've included the x86 EXE file
    so you can test the Example without building your own EXE file.
    All you need is a Key with the same Product-ID and Product PIN
    that the Example program is expecting.

    Here's how to create the Key:

      1) Install EverKey or download KeyBuild from Az-Tech.com.
      2) Run KeyBuild.  Go to the "Build Keys" panel and
         click the "Reset To Defaults" button.
      3) If you want to test with a "Uses Limit" or "Time Limit",
         change those options from "Unlimited" to your test values.
      4) Do not change the "Product-ID" or "Encryption-Key".  When
         you click the "Show" button, the "PIN" should be "375391873".
      5) Plug an EverKey Rockey4 or Rockey4ND into a USB port.
      6) Click the "Build Keys Using These Options" button.
      7) When the "Build Keys Summary" appears, click "Build Keys".

Using the Example Program

      1) Plug the Rockey Key into the computer where EverKey
         is installed.
      2) Run KeyShow.exe to ensure that the Key has a "Product-ID"
         of "Examples".  If not, use KeyBuild.exe to build the Key
         as described above.
      3) Navigate to the "Release" folder and run the program
         "Test_KeyChk.exe".
      4) Clicking the button labelled "Do KEYCHK Function 1" will
         call KEYCHK and perform a protection check without updating
         the Exec-Count Limit.
      5) Clicking the button labelled "Do KEYCHK Function 2" will
         call KEYCHK and perform a protection check AND subtract 1
         from the current Exec-Count Limit.

Building the Example Program

      1) Start Visual Studio 2005.
      2) Open the KeyChk_VS2005_Cpp.sln solution.
      3) Ensure the Platform is set to "Win32".  You can set the Configuration
         to "Release" or "Debug".
      4) From the "Build" menu, select "Rebuild Test_KeyChk".  This
         will build the "Test_KeyChk.exe" program.

Technical Support

    We offer unlimited free Technical Support via our web site.

       Email: Support@Az-Tech.com
         Web: Az-Tech.com/support.html

End of Readme.txt file.
