Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 10-08-2002, 14:15
Zigmund Zigmund is offline
Friend
 
Join Date: May 2002
Posts: 24
Rept. Given: 0
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 2
Thanks Rcvd at 3 Times in 3 Posts
Zigmund Reputation: 0
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...
Reply With Quote
  #2  
Old 10-08-2002, 15:22
tom324 tom324 is offline
Friend
 
Join Date: Jan 2002
Posts: 233
Rept. Given: 5
Rept. Rcvd 7 Times in 6 Posts
Thanks Given: 26
Thanks Rcvd at 28 Times in 17 Posts
tom324 Reputation: 7
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
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


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


All times are GMT +8. The time now is 01:47.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( Since 1998 )