How the Compiler Works

 

Compiler users frequently call and say, "I don't understand! What is it doing?" We've done our best to explain the Compiler in detail, in both the WinBatch help file and in the WinBatch User's Guide. Not surprisingly, comprehension seems to expand like waistbands after Thanksgiving dinner when the Compiler is explained in plain, simple English.

 

English version minus technical verbiage:

 

The Compiler gives you the ability to compile your scripts into executables which can be launched on PC's without WinBatch. The two standard executable options are Large for Standalone and Small for networked PC's.

 

When you place a Large EXE on a PC and run it, the EXE looks for the DLL's it needs to run. It looks in the current directory and on the path. If the DLL's are not found in either of these places, it writes the DLL's to the current directory. If the directory is write protected, an error will occur.

 

A Small EXE doesn't have the ability to write DLL's. The DLL's must be on the machine either in the path or in the current directory before it can execute. A Small EXE can use DLL's placed on the machine by a Large EXE.

 

Any extender DLL's you are using, plus the interpreter dll, Wbxxxyyy.dll, will be installed. See Filename Appendix for information on filenames.

 

 

WinBatch+Compiler

Compiler Installation

Compiler Usage