Hahaha, too easy ! it's just a short story about stack... , so, for the rest, i agree with you, it's important to understand what we do.And that you need "ret 4" or "ret 8" is your solution, not mine
MLF : Make Lib Factory (For PureBasic)
Re: MLF : Make Lib Factory (For PureBasic)
Re: MLF : Make Lib Factory (For PureBasic)
■ It's complicated trying to justify myself in a language that's not mine.
So, i'm going to make short answers.
■ Being under the effect of JDunning-Kruger, I'm going to talk a little bit about myself.
I was a programmer then analyst-programmer and project manager. I worked in development teams of 30 to 50 people. Trained at IBM on mainframe 370,36,38,4341 and AS400. Cobol & GAP language.
On pc I have known C, Pascal, Borland Paradox and Windev languages.
I also know HTML, CSS, Javascript, Php & SQL.
In my development teams, it is not necessary to have all the skills. You can develop part of the code and give someone else a feature that requires a specific skill.
■ MLF
It's true that I don't know the x86 assembler but MLF was easy to code because initially I didn't touch the assembler code.
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
- LibraryMaker.exe to create the user library from the previous ASM 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.
Maybe it's time to find someone competent to consolidate the ASM code generated by pbcompiler. exe.
You can use each of these utilities separately on the command line or use MLF.
The version of MLF 1.37 Beta is available.
https://github.com/MLF4PB/MLF-Dev/archive/master.zip
So, i'm going to make short answers.
You're wrong about that. I'm just saying that GPI doesn't understand the project.nco2k wrote:GPI's criticism is constructive and true. falsam should be happy to get such feedback. but instead, he is mocking the person trying to help.
I hope that one day PureBasic will natively have this feature. But at the moment, it doesn't exist.nco2k wrote:falsam, im not trying to discourage you from working on your project. having this, is better than having nothing, but in the long run, we need a native system. thats the only way forward.
I agree and I thought that by proposing this project, some of you could help me.GPI wrote:I said, that he need more knowledge to finish this project and where he will get it.
■ Being under the effect of JDunning-Kruger, I'm going to talk a little bit about myself.
I was a programmer then analyst-programmer and project manager. I worked in development teams of 30 to 50 people. Trained at IBM on mainframe 370,36,38,4341 and AS400. Cobol & GAP language.
On pc I have known C, Pascal, Borland Paradox and Windev languages.
I also know HTML, CSS, Javascript, Php & SQL.
In my development teams, it is not necessary to have all the skills. You can develop part of the code and give someone else a feature that requires a specific skill.
■ MLF
It's true that I don't know the x86 assembler but MLF was easy to code because initially I didn't touch the assembler code.
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
- LibraryMaker.exe to create the user library from the previous ASM 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.
Maybe it's time to find someone competent to consolidate the ASM code generated by pbcompiler. exe.
You can use each of these utilities separately on the command line or use MLF.
The version of MLF 1.37 Beta is available.
https://github.com/MLF4PB/MLF-Dev/archive/master.zip
➽ Windows 11 64-bit - PB 6.0 x64 - AMD Ryzen 7 - NVIDIA GeForce GTX 1650 Ti
Sorry for my bad english and the Dunning–Kruger effect.
Re: MLF : Make Lib Factory (For PureBasic)
■ MLF version 1.51 Beta is available on the GitHub platform.
- Add: Compilation ThreadSafe.
Use a user library in your PureBasic code, and compile with or without a Thread Safe option.
Thanks to Fred and G-Rom who contributed a lot to this new addition without touching the Assembly code.
■ How it works..
Create your code containing one or more procedures and compile it with the Thread Safe option.
There is a limitation: no include code.
Download : https://github.com/MLF4PB/MLF-Dev/archive/master.zip
- Add: Compilation ThreadSafe.
Use a user library in your PureBasic code, and compile with or without a Thread Safe option.
Thanks to Fred and G-Rom who contributed a lot to this new addition without touching the Assembly code.
■ How it works..
Create your code containing one or more procedures and compile it with the Thread Safe option.
There is a limitation: no include code.
Download : https://github.com/MLF4PB/MLF-Dev/archive/master.zip
➽ Windows 11 64-bit - PB 6.0 x64 - AMD Ryzen 7 - NVIDIA GeForce GTX 1650 Ti
Sorry for my bad english and the Dunning–Kruger effect.
-
- User
- Posts: 71
- Joined: Thu May 02, 2019 3:57 am
- Location: USA
- Contact:
Re: MLF : Make Lib Factory (For PureBasic)
I am using your MLF very successfully. It is a really useful project.
But I have a couple of questions.
Can you explain the Thread, Thread Safe and Adjust RET checkboxes? A little explanation would go a long way.
Thank you very much,
Robert
But I have a couple of questions.
Can you explain the Thread, Thread Safe and Adjust RET checkboxes? A little explanation would go a long way.
Thank you very much,
Robert