Envoyé par
Jon Schwartz
Note the most important change – KPL v 2 now produces compiled executables! They are created in the same folder as the .KPL file when you run a program, along with related dependency files, including a subfolder which will contain all KPL runtime DLLs required by that program. Further work may happen to simplify this support by combining the EXE and all of it’s dependencies into a single stand-alone EXE.
Compiled executables!!! This allows distribution of user programs without the KPL IDE, as well as providing substantial performance increases in many programs. To distribute a compiled EXE, you’ll need to zip the EXE with the associated files, and also include the files in the ProgramName.RuntimeFiles subfolder. See the example of the zipped MissileCommand executable which is attached. After it’s unzipped, the EXE should launch and run, no KPL required. Note that .NET Framework 2.0 is still required on the computer.
Partager