This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- FlexNet Publisher
- :
- FlexNet Publisher Knowledge Base
- :
- How to make sure application stops working when dongle is removed from a machine .
Subscribe
- Mark as New
- Mark as Read
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
How to make sure application stops working when dongle is removed from a machine .
How to make sure application stops working when dongle is removed from a machine .
After reconnection attempts fails, the client tries to exit the application. The default behavior in Windows will be Pop-up dialog box with update about the error. The application will exit once the dialog box is closed.
In case, you want to change the exit behavior, you can write your own callback under the attribute:
(void)lc_set_attr(lm_job, LM_A_USER_EXITCALL_EX, (LM_A_VAL_TYPE)quit);
The callback can be written as
static int quit(LM_HANDLE* lm_job,char* feat, void* itr)
{
printf("LM_A_USER_EXITCALL_EX is called for %s \n", feat); exit(0);
}
No ratings