hehe another day, another problem
today i try to build lmcrypt for my own amusement, so i edit lm_code.h with:
(i got it from lmv8gen)
Code:
#define VENDOR_KEY1 0x6cfe8c94
#define VENDOR_KEY2 0x2d430502
#define VENDOR_KEY3 0xe64b1485
#define VENDOR_KEY4 0x04858ac0
#define VENDOR_KEY5 0x7a7420d1
#define CRO_KEY1 0x367306ef
#define CRO_KEY2 0x54c60c79
#define VENDOR_NAME "testabc"
now i go to C:\Program Files\FLEXlm\v9.2\i86_n3 in a dos promt and run:
"Build", i get the following:
Code:
Microsoft (R) Program Maintenance Utility Version 6.00.9782.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
lmrand1 -i ..\machind\lsvendor.c
cl /c /nologo /c /I..\machind /I. /MT -I../h lmcode.c
lmcode.c
LINK /nologo /NODEFAULTLIB /OPT:NOREF /subsystem:CONSOLE lmnewgen.obj l
mcode.obj lmgr.lib libcrvs.lib libsb.lib oldnames.lib kernel32.lib user32.lib n
etapi32.lib advapi32.lib gdi32.lib comdlg32.lib comctl32.lib wsock32.lib libc
mt.lib /out:lmnewgen.exe
if exist lm_new.c del lm_new.c
lmnewgen.exe testabc -o lm_new.c
v8.1+ FLEXlm, non-CRO
lc_init failed: Invalid FLEXlm key data supplied
FLEXlm error: -44,49
For further information, refer to the FLEXlm End User Manual,
available at "www.macrovision.com".
NMAKE : fatal error U1077: 'lmnewgen.exe' : return code '0x1'
Stop.
no matter how i change lm_code.h, i always get -44, anybody any ideas about this one ?, this is first time i use lmcrypt.c, i always have used lmcryptgui, thanks!