Exetools

Exetools (https://forum.exetools.com/index.php)
-   General Discussion (https://forum.exetools.com/forumdisplay.php?f=2)
-   -   FlexLM Help (https://forum.exetools.com/showthread.php?t=4509)

dirkmill 11-01-2004 06:43

Ah, I see your mistake.
You're confusing job- and vendorcode-structure!
The vendor-struct is the block you marked JOB and vice-versa.

Your data is consistent with my encseeds :D

Dirk

Peter[Pan] 11-01-2004 06:48

omg *me dies* thanks man!, worked like a charm, what a silly mistake, my 1000 sorrys :)

JMI, if any of the previous posts need editing for something removing plz do! or just tell me and i will, sorry to waste peoples time :)

Peter[Pan] 11-01-2004 11:26

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!

tom324 11-01-2004 14:28

First thing to do is RTFM.

-44
LM_BADKEYDATA

"Invalid key data supplied."
Invalid FLEXnet Licensing key data was supplied to the lc_new_job() call. Some FLEXnet Licensing functions will be disabled.

Seems your VENDOR_KEYx and/or CRO_KEYn are not correct for vendor "testabc"

Tom

Peter[Pan] 11-01-2004 19:04

tom: sorry i shoulda said that i did read thru, it and i knew what -44 was.

how would one generate such vendor keys then ?

Thanks.

dirkmill 11-01-2004 20:02

Hi again!

As you should probably know vendor-keys are changing with each major revision of flexlm. And what does this tell us:
Code:

$ ./lmv8gen
**********************************
*Flexlm v 8.x Vendor key generator

If you want to play with CRO either get a v8.x SDK or investigate v9.x CRO-key generation...

Dirk

Peter[Pan] 11-01-2004 21:18

yea i understand they change, and i have 0 intrest in playing with the cro versions atm, however i did try lmv8gen, found at CrackZ website, on v7, v8, v9.2 of the sdk's with differnt vendor names, all report back -44 during build time, again iam prolly missing something silly.

*edit* got v7.2 SDK working, by using PGC FlexLM Vendor Kegen, must be the lmv8gen, that just didnt worked for me in the 8+ SDK.

Thanks as always.

-Peter


All times are GMT +8. The time now is 15:36.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX