|
Application Programming: Distributing Callable IDL Applications |
|
An embedded license allows your application to run without an IDL license. It can be distributed to multiple users and will run on any system supported by IDL. Licensing an IDL application with an embedded license is the simplest form of licensing.
| Note It is beyond the scope of this manual to discuss the creation of Callable IDL applications. See Callable IDL for details. |
In order to create applications with embedded licenses, you must purchase a special IDL Developer's Kit license from ITT Visual Information Solutions. If you specify that you will be distributing a Callable IDL application when you purchase your Developer's Kit license, ITT Visual Information Solutions will provide you with a license string and some initialization code to be embedded into your application code before the application's initial call to IDL.
Contact ITT Visual Information Solutions for your license information. You will need to provide the following information:
You will receive a text file containing a function that IDL uses to retrieve the licensing information.
After you receive your license information, make the following changes to your application code, in the module from which you are initializing IDL. These instructions assume your code is written in C.
/* Callable Application license for: myapp, My App */
/* License built for IDL Version 6.4 */
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);
IDL Online Help (March 06, 2007)