![]() |
|
#1
|
|||
|
|||
|
FLEXlm 8.1 once more
I have a simple question for you, people...
I can't find aswer by my own, coz I have no such SDK... Q: I need detailed syntax of GetHostID(...) function... Who can help me? sincerely... |
|
#2
|
|||
|
|||
|
D.1.18 lc_gethostid()
Syntax hostid = lc_gethostid(job) Description lc_hostid() should normally be used instead. Returns the hostid for the local host. lc_gethostid() is simply a call to lc_getid_type(default_hostid_type). Parameters (LM_HANDLE *) job From lc_new_job(). Return (HOSTID *) hostid A pointer to the HOSTID struct, filled in for the current host, or NULL on failure. -------------------------------------------------------------------------------- Note: The memory returned by lc_getid_type() is shared by lc_gethostid(), and both functions free this memory when called. Therefore, do not call lc_getid_type(), and then lc_gethostid(), and expect the first pointer to remain valid. -------------------------------------------------------------------------------- Error Returns LM_CANTFINDETHER Cannot find ethernet device. If this error is returned, a null HOSTID pointer will be returned. (Prior to v5, this was a NOHOSTID type, rather than a NULL pointer). See Also lmclient.h for the definition of the HOSTID struct |
![]() |
|
|
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 |