BuildWindowsCSP

From Dogtag
Revision as of 02:25, 7 March 2013 by Edewata (talk | contribs) (Created page with 'Return tool the CoolKey page. == Prerequisites == The windows CSP only builds and runs on Windows. You will need to following. * '''Microsoft Visual C++''' I've tested with V...')

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Return tool the CoolKey page.

Prerequisites

The windows CSP only builds and runs on Windows. You will need to following.

Setup

  1. Install Microsoft Visual C++
  2. Set the environment variables INCLUDE, LIB, and PATH to point to the compiler. There is a tool that comes with the compilier to do this.
  3. Install Microsoft CAPI CSPDK
  4. Set the CAPISDK evironment variable to point to the directory you installed Microsoft CAPI CSPDK in. For example,
    set CAPISDK=C:\CSPDK

Building

In the root directory type:

nmake

You will need the following files:

 clkcsp.dll
 clkcsp.sig
 cspres.dll

To run the CSP you will need to

  1. follow the directions in the Microsoft CAPI SDK for setting up your system,
  2. copy clkcsp.dll cspres.dll and cllkcsp.sig to your C:/Windows/System32 directory,
  3. in your WINDOWS/System32 directory run regsvr32 clkcsp.dll.