Still as a young project, MLF (Make Lib Factory) is an utility for creating user libraries for the PureBasic language.

■ How it works
MLF provides a link between three utilities that you will find in the PureBasic installation folder.
- pbcompiler. exe with the /COMMENTED option for creating the ASM file
- fasm. exe for creating the OBJ file
- polib.exe for creating the LIB file
- LibraryMaker. exe to create the user library from the previous OBJ/LIB file and a description file that will be created by MLF.
The code processing is as follows:
-List the dependencies of the procedures.
-List public procedures. (ProcedureDLL).
-For each procedure, define the type (String, Long,...).
-For each parameter, define the type (String, long,...).
-Extract the help associated with each ProcedureDLL.
■ GitHub
https://github.com/MLF4PB/MLF-Dev
■ Wiki
https://github.com/MLF4PB/MLF-Dev/wiki
■ Direct download
https://github.com/MLF4PB/MLF-Dev/archive/master.zip
■ Functionality.
- Create resident
- Create users libs
- Interface (Example InterfaceLib.pb)
- API (Example GetCPUNameLib.pb)
- Pass a list in parameters (Examples ListLib1.pb & ListLib2.pb)
- AttachProcess() and DetachProcess() (Example ProcessLib.pb)
Wiki : https://github.com/MLF4PB/MLF-Dev/wiki/ ... ic-Trigger.
- Add optional parameters (Example : StrMaskLib.pb)
■ Restrictions.
- No map in parameters.
- No array in parameters.
The ASM, DESC, Log files are created in the MLF folder. With the next version, I think I'm going to create some pre-compile folders.
Thanks to Bisonte and Mestnyi for their contributions to the translation (German and Russian).
Good tests
