Refer to Licensing Options for Runtime Mode Applications. The licensing options and steps are the same for callable IDL applications, with the following exception that applies to embedded licensing:
Define the licensing information for your application. Although your licensing information is individualized, it will resemble the following:
/* Callable Application license for: myapp, My App */ /* License built for IDL Version 7.1 */ static char *initStr[] = { "12345678abcdabcd", "12345678abcdabcd", "12345678abcdabcd", "12345678abcdabcd", "12345678abcdabcd", "" };
IDL_INIT_DATA init_data;
init_data.applic = initStr; init_data.options |= IDL_INIT_APPLIC;
if (!IDL_Initialize(&init_data)) return(FALSE);