|
Application Programming: Distributing Virtual Machine Applications |
|
IDL's preference system allows developers, administrators, and individual users to control default values for many aspects of IDL's environment and configuration. Creators of runtime applications can take advantage of the preference system to customize the environment in which a particular application runs.
See Preferences for Runtime Applications for a discussion of using preferences in the context of any IDL runtime application, including applications that run in the IDL Virtual Machine.
The process of specifying preferences for a Virtual Machine application is complicated by the following facts:
| Note If your users will run your application by starting the IDL Virtual Machine directly from the IDL installation CD-ROM, none of these options are available. |
If your Virtual Machine application runs under Microsoft Windows, you have the following options:
-pref command line option to specify a preferences file or specify individual preferences.
idl.pref file in the IDL_DIR/bin/bin.platform directory where platform is the platform-specific bin directory, and then launch the application by clicking on the SAVE file icon or by dragging it to the Virtual Machine icon.
idl.pref file in the IDL_DIR/bin/bin.platform directory yourself before creating the CD-ROM distribution. See Distributing Your Application on a CD-ROM for details.If your Virtual Machine application runs under UNIX (including Mac OS X), you have the following options:
IDL Online Help (March 06, 2007)