next up previous contents
Next: Return Value Up: PILinit Previous: PILinit   Contents


This function initializes PIL library. This function has to be called before any other PIL function (there are some exceptions to this rule). It does the following :
Based on PILModuleName (or argv[0] if PILModuleName is empty) calculates name of parameter file. Usually name of parameter file equals argv[0] + ".par" suffix but this can be overriden by calling PILSetModuleName and/or PILSetModuleVersion before calling PILInit. After successful termination parameter file is opened and read in, and global variable PILRunMode is set to one of the following values :


ISDC_SERVER_MODE is set whenever there is parameter "ServerMode" and its value is "yes" or "y". In any other case PILRunMode is set to ISDC_SINGLE_MODE.

Bryan Irby 2004-10-05