BEE Lisp for developers > Syntax analyzer

DropToDisk method

Generates EXE or DLL file from active assembly, that is already compiled into intermediate code using Parse method.

Parameters:

      [in] char* szOutputFileName – result file name

      [in] ULONG dwFlags – compilation mode:

MAKE_INTERMEDIATE – just drop to disk (leave in intermediate state, do not compile into machine code).

MAKE_IMAGE – compile into EXE file (console application)

MAKE_GUI_IMAGE – compile into EXE file (GUI application)

MAKE_DLL – compile into DLL file

All of these flags can be combined using OR operator with CIPHER_FLAG flag, which optionally cipher application for better defense from hack attach. In this case operating system takes more time to load EXE file, but after loading performance of this EXE is just like performance of normal EXE file compiled without this flag.

      [out] ULONG *lpResult – compilation result ( 0 – error ).

 

Method also returns E_FAIL on failure.