Using WIL Extenders

 

Accessing the additional functionality available in WIL Extender DLLs is simple. At the top of each script in which WIL Extender commands are to be used add the appropriate extender with the AddExtender command.

AddExtender("ilcsl44i.dll",0,"ilcsl64i.dll")
                

The WIL interpreter will search for the extender DLLs. If no path is specified in the AddExtender statement, the WIL interpreter will search the current directory, the windows directory and on directories on the path. The extender DLLs must be available or the AddExtender line will return an error. In general, when running a Large EXE with embedded extenders, it will extract the extenders to the same directory the compiled EXE is in.

 

The AddExtender function should only be executed once for each extender DLL in each WIL script that requires it. Each extender DLL requires it's own AddExtender statement. There can only be up to 32 extender DLLs or a combined total of 750 functions per script.