Since 6.10 Purebasic has started static linking the MS runtime, as previously it linked with the MSVCRT.dll that ships with windows.
This blog post has details about this https://www.purebasic.fr/blog/?p=538
Search found 32 matches
- Thu Mar 14, 2024 7:16 am
- Forum: General Discussion
- Topic: [PB6.10B8] Vast Increase in Compiled Size
- Replies: 3
- Views: 723
- Sat Dec 02, 2023 12:30 pm
- Forum: Coding Questions
- Topic: Passing Structures by address convention
- Replies: 2
- Views: 459
Re: Passing Structures by address convention
Thanks @mk-soft. I have a similar feeling as it seems like it makes it more readable rather than something happening which could be hidden. I guess it is added in to make working with structures easier?
- Sat Dec 02, 2023 9:35 am
- Forum: Coding Questions
- Topic: Passing Structures by address convention
- Replies: 2
- Views: 459
Passing Structures by address convention
Hi,
I have noticed that structures can automatically be passed by address if needed without the use of '@'. I'm guessing this here to make the structures easier to work with?
The example in the documentation specifies the @ and it was only by accident that I discovered that it worked the same ...
I have noticed that structures can automatically be passed by address if needed without the use of '@'. I'm guessing this here to make the structures easier to work with?
The example in the documentation specifies the @ and it was only by accident that I discovered that it worked the same ...
- Sun Aug 20, 2023 2:20 pm
- Forum: Applications - Feedback and Discussion
- Topic: DialogDesign0R V1.86
- Replies: 250
- Views: 179820
Re: DialogDesign0R V1.84
I noticed that DialogDesign0R adds the xpos, and ypos attributes on the windows elements. As the Dialog library does not uses these attributes, how are we to make use of them?
I see OpenXMLDialog can take x/y coords. I' guessing we have to extract the values from the xml and then feed it in this ...
I see OpenXMLDialog can take x/y coords. I' guessing we have to extract the values from the xml and then feed it in this ...
- Wed May 31, 2023 2:26 pm
- Forum: Coding Questions
- Topic: Global Empty Array declaration
- Replies: 7
- Views: 1558
Re: Global Empty Array declaration
@Fred
Thanks that is even better! Thank you very much. I wish you could init it with array size 0, rather than init with one element then clear, but it is a minor annoyance.
Thanks that is even better! Thank you very much. I wish you could init it with array size 0, rather than init with one element then clear, but it is a minor annoyance.
- Mon May 29, 2023 8:36 pm
- Forum: Coding Questions
- Topic: Global Empty Array declaration
- Replies: 7
- Views: 1558
Re: Global Empty Array declaration
Thank you very much Olli, very interesting example. I will experiment with this.
- Mon May 29, 2023 5:15 pm
- Forum: Coding Questions
- Topic: Global Empty Array declaration
- Replies: 7
- Views: 1558
Re: Global Empty Array declaration
Hi Marc56us,
I also considered going for that example, but the line
Dim A$(0) : Debug ArraySize(A$())
Has one element dimensioned. The ArraySize() is a little misleadingly named as it actually returns the ubound of the array so therefore it's size is 1 and is not empty.
I was wondering if it ...
I also considered going for that example, but the line
Dim A$(0) : Debug ArraySize(A$())
Has one element dimensioned. The ArraySize() is a little misleadingly named as it actually returns the ubound of the array so therefore it's size is 1 and is not empty.
I was wondering if it ...
- Mon May 29, 2023 3:57 pm
- Forum: Coding Questions
- Topic: Global Empty Array declaration
- Replies: 7
- Views: 1558
Global Empty Array declaration
Hi,
I was wondering if it is possible to declare an empty global array? I find when you declare an array you dimension it and therefore create the elements, but I would like to create an empty array and then dimension it at some later point at runtime. I suspect I can't do what I am thinking and ...
I was wondering if it is possible to declare an empty global array? I find when you declare an array you dimension it and therefore create the elements, but I would like to create an empty array and then dimension it at some later point at runtime. I suspect I can't do what I am thinking and ...
- Fri Aug 13, 2021 6:38 am
- Forum: Announcement
- Topic: PureBasic - A Beginner's Guide : Free to download and adapt!
- Replies: 83
- Views: 305346
Re: PureBasic - A Beginner's Guide : Free to download and adapt!
Hi the book and the code samples can be found over here.
https://github.com/nomad-software/purebasic-a-beginners-guide
Some of the examples will need some minor tweaking as they use things that have been changed in Purebasic over time, but I found it those quite easy to fix whilst learning.
Can't ...
https://github.com/nomad-software/purebasic-a-beginners-guide
Some of the examples will need some minor tweaking as they use things that have been changed in Purebasic over time, but I found it those quite easy to fix whilst learning.
Can't ...
- Sat Apr 24, 2021 8:40 am
- Forum: Coding Questions
- Topic: Assigning structure address to Interface invalid memory access error
- Replies: 6
- Views: 1499
Re: Assigning structure address to Interface invalid memory access error
It's a very old sets of tutorials. That being said if you want to really experiment some OOP with PureBasic I suggest to download, study and compile for your self Dev-Object that can write code like that in matter of milliseconds.
I had a feeling what I was doing maybe out of date, found that ...
- Fri Apr 23, 2021 3:08 pm
- Forum: Coding Questions
- Topic: Assigning structure address to Interface invalid memory access error
- Replies: 6
- Views: 1499
Re: Assigning structure address to Interface invalid memory access error
@Bisonte, thank you very much that is extremely helpful. 
- Fri Apr 23, 2021 12:33 pm
- Forum: Coding Questions
- Topic: Assigning structure address to Interface invalid memory access error
- Replies: 6
- Views: 1499
Assigning structure address to Interface invalid memory access error
Hi,
I'm experimenting with some of the OOP like features in PB, and I'm following Drac's tutorials on the subject ( http://drac.site.chez-alice.fr/Tutorials%20Programming%20PureBasic/POO/POO_Interface_en.htm ).
I have this basic bit of code
Interface IPerson
Display()
EndInterface
Structure ...
I'm experimenting with some of the OOP like features in PB, and I'm following Drac's tutorials on the subject ( http://drac.site.chez-alice.fr/Tutorials%20Programming%20PureBasic/POO/POO_Interface_en.htm ).
I have this basic bit of code
Interface IPerson
Display()
EndInterface
Structure ...
- Thu Apr 22, 2021 2:04 pm
- Forum: Applications - Feedback and Discussion
- Topic: IceDesign GUI designer
- Replies: 726
- Views: 281670
Re: IceDesign (New) modern GUI designer
Thank @ChrisR that has sorted it.
One very minor pieces of feedback I can give is that opening and closing containers does not feel super smooth like it takes a bit of processing to do that. I'd expect it to to be instantaneous with opening and closing one.
In the list controls panel it would be ...
One very minor pieces of feedback I can give is that opening and closing containers does not feel super smooth like it takes a bit of processing to do that. I'd expect it to to be instantaneous with opening and closing one.
In the list controls panel it would be ...
- Thu Apr 22, 2021 12:18 pm
- Forum: Applications - Feedback and Discussion
- Topic: IceDesign GUI designer
- Replies: 726
- Views: 281670
Re: IceDesign (New) modern GUI designer
Hi @ChrisR,
Firstly what you are doing here is super awesome I look forward to seeing how this goes.
I think I may have found a bug with the code generation.
The steps to do it are
Add a toolbar
Add a PanelGadget
Create code to clipboard
paste and run into PureBasic
Upon compiling and ...
Firstly what you are doing here is super awesome I look forward to seeing how this goes.
I think I may have found a bug with the code generation.
The steps to do it are
Add a toolbar
Add a PanelGadget
Create code to clipboard
paste and run into PureBasic
Upon compiling and ...
- Fri Apr 16, 2021 6:14 pm
- Forum: Applications - Feedback and Discussion
- Topic: [Library] Fast Image2Ascii-Art (Image to String) Lib - Windows only!
- Replies: 9
- Views: 3516
Re: [Library] Fast Image2Ascii-Art (Image to String) Lib - Windows only!
Added the missing lib files pls try again.
Can confirm it is working now, maybe it would worth adding the test.jpg to the download? Am I right in thinking that each ascii character is for each pixel? With large image dimensions the amount of ascii it generates is very large and the image only ...