11)编译设置环境变量
a) cl makesetup.c
b) makesetup RELEASE NONDEBUG i86_n3 MT
c) setup.bat
12)编译SDK
nmake /fpc.mak release
看到[Finished building kit! Don't forget to build lmtools utility.]表示编译完全通过
13)生成license
cd i86_n3
lmcrypt.exe counted.lic
lmcrypt.exe uncounted.lic
lmcrypt.exe expired.lic
14)测试运行
lmtools.exe配置一个license server。然后运行lmwin.exe将所有的feature都checkout一次
附:vondor_key1-5与lm_seed1-3
#define VENDOR_KEY1 0x4054cac1
#define VENDOR_KEY2 0x4500538e
#define VENDOR_KEY3 0x542a6830
#define VENDOR_KEY4 0x3951f9f9
#define VENDOR_KEY5 0x0b165dca
/*
* Vendor name. Leave "demo" if evaluating. Otherwise,
* set to your vendor daemon name.
*/
#define VENDOR_NAME "demo"
/*
* Private SEEDs: Make up 3, 8-hex-char numbers, replace and
* guard securely. You can also use the command
* 'lmrand1 -seed' to make these numbers up
*/
#define LM_SEED1 0x82395728
#define LM_SEED2 0xac86853f
#define LM_SEED3 0x13765cfb