![]() |
|
|
|
#1
|
|||
|
|||
|
FlexLM Help
Ive read a lot of tutorials on it, but iam stuck in one part maybe somebody can read here and help:
Fixed using _l_sg() method, with calcseed. -Peter Last edited by Peter[Pan]; 06-30-2004 at 00:29. |
|
#2
|
|||
|
|||
|
Still Wrong
, anybody can help me with this ?*edit 2* now i have it working, i changed on a hunch license behavoir to 7.0, now should i assume all license in that format are 7.0 ? or is there a way i can tell how its being handled, thanks. Last edited by Peter[Pan]; 06-30-2004 at 00:28. |
|
#3
|
|||
|
|||
|
Quote:
|
|
#4
|
|||
|
|||
|
up 7.0 ,the license mybe ok !!
|
|
#5
|
|||
|
|||
|
I think there is a way to find the version of the license, by checking the disassembly, or real time trace for the lc_set_attr call.
The function is defined as: lm_extern int API_ENTRY lc_set_attr lm_args((LM_HANDLE_PTR job, int key, LM_A_VAL_TYPE value)); The second arg will indicate the license version, for example, in the tracing of the code: 00478026 |. 8B4424 34 MOV EAX,DWORD PTR SS:[ESP+34] 0047802A |. 6A 00 PUSH 0 0047802C |. 6A 4C PUSH 4C 0047802E |. 50 PUSH EAX 0047802F |. E8 BCBFFBFF CALL <_lc_set_attr> You will find the second arg is 0x4c, and look back to the lm_attr.h, there is the following def, 76 is the 0x4c in Dec. : #define LM_A_CKOUT_INSTALL_LIC 76 /* (int) true if BEH_V7+, else false */ So you must use behavior V7. good luck. Last edited by appleleafs; 09-04-2004 at 04:41. |
|
#6
|
|||
|
|||
|
typedef struct vendorcode7 {
short type; /* Type of structure */ unsigned long data[2]; /* 64-bit code */ unsigned long keys[4]; short flexlm_version; short flexlm_revision; char flexlm_patch[2]; char behavior_ver[LM_MAX_BEH_VER + 1]; unsigned long crokeys[2]; int signs; /* number of entries in pubkeyinfo */ int strength; int sign_level; LM_VENDORCODE_PUBKEYINFO pubkeyinfo[LM_MAXSIGNS]; } VENDORCODE7, *VENDORCODE_PTR; #define LM_BEHAVIOR_V2 "02.0" #define LM_BEHAVIOR_V3 "03.0" #define LM_BEHAVIOR_V4 "04.0" #define LM_BEHAVIOR_V5 "05.0" #define LM_BEHAVIOR_V5_1 "05.1" #define LM_BEHAVIOR_V6 "06.0" #define LM_BEHAVIOR_V7 "07.0" #define LM_BEHAVIOR_V7_1 "07.1" #define LM_BEHAVIOR_V8 "08.0" #define LM_BEHAVIOR_V8_1 "08.1" #define LM_BEHAVIOR_V8_2 "08.2" #define LM_BEHAVIOR_V8_3 "08.3" #define LM_BEHAVIOR_V9 "09.0" the vendorcode struct is used by lc_init outputs of 2 call to signed32 in l_string_key are seed1 and seed2. after finding the flexversion and seeds you can use lmcryptgui to generate lmcrypt. toro |
![]() |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Flexlm 7.2 LIC file use on Flexlm 9.2 display error -73 ? | hanzi | General Discussion | 9 | 07-05-2006 18:51 |