![]() |
|
#11
|
|||
|
|||
|
Just add this to your crypter and call it after lc_init,
e.g declare_vid(lm_job, "NSAD_HOSTID", HOSTID_VENDOR+1); Works for me since v6 at least :-) void declare_vid(LM_HANDLE_PTR lm_job, char *name, DWORD type) { LM_VENDOR_HOSTID h; memset(&h, 0, sizeof (h)); h.label = name; h.hostid_num = type; h.case_sensitive = 0; h.get_vendor_id = NULL; if (lc_set_attr(lm_job, LM_A_VENDOR_ID_DECLARE, (LM_A_VAL_TYPE) &h)) lc_perror(lm_job, "LM_A_VENDOR_ID_DECLARE FAILED"); } |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| When use "vendor defined encryption routines", how to set daemon related part? | bridgeic | General Discussion | 6 | 01-22-2015 11:35 |
| Need a web host | Nilrem | General Discussion | 2 | 01-17-2004 16:06 |