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( filename [,version [, alternate filename ] ] )


The WIL interpreter will search for the extender DLL's. 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 DLL's 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.

For the Terminal Service Extender, this AddExtender line would appear in the script.

 

 

Home Page

About WIL Extenders

Compiling with WIL Extenders

Function List

 

;Load 32-bit or 64-bit extender

AddExtender( "WWWTS44I.DLL" , 0, "WWWTS64I.DLL" )