The WinBatch+Compiler has two options for compiling scripts into executables, Large EXE for Standalone PC's and Small EXE for Networked PC's. When any extender functions are used in a script, the corresponding extender must be compiled into the executable, or placed where the executable can access it. The Large Standalone EXE option of the Compiler has an additional button. The EXTENDERS button displays a list of extenders which can be chosen and compiled into a Standalone EXE option. More than one extender may be chosen. When a Standalone EXE is launched on a PC it looks for the necessary DLL's in the current directory, on the path and in the Windows directory. If the DLL's are not found, they are automatically written into the current directory. If for some reason, they cannot be written to that directory (perhaps the directory is set to be Read Only), the large compiled file will not run. The DLLs can also be copied into a directory on a computers PATH and the compiled EXE will find them there and run. The Compiler has a Small EXE for Networked PC's option that takes advantage of this. The DLLs need to be placed on the PATH only once. Subsequent EXE files installed on this same machine can be compiled under the Small EXE option. It is generally recommended to use the filename without including the path in an AddExtender statement. However, if it is preferable to point to the current directory, (directory in which the WIL executable resides), it can be done.
|