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: 257
- Sat Dec 02, 2023 12:30 pm
- Forum: Coding Questions
- Topic: Passing Structures by address convention
- Replies: 2
- Views: 194
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: 194
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 withou...
- Sun Aug 20, 2023 2:20 pm
- Forum: Applications - Feedback and Discussion
- Topic: DialogDesign0R V1.85
- Replies: 212
- Views: 107623
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 fun...
- Wed May 31, 2023 2:26 pm
- Forum: Coding Questions
- Topic: Global Empty Array declaration
- Replies: 7
- Views: 577
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: 577
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: 577
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 is poss...
- Mon May 29, 2023 3:57 pm
- Forum: Coding Questions
- Topic: Global Empty Array declaration
- Replies: 7
- Views: 577
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 the...
- Fri Aug 13, 2021 6:38 am
- Forum: Announcement
- Topic: PureBasic - A Beginner's Guide : Free to download and adapt!
- Replies: 82
- Views: 236226
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 he...
- Sat Apr 24, 2021 8:40 am
- Forum: Coding Questions
- Topic: Assigning structure address to Interface invalid memory access error
- Replies: 6
- Views: 1068
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 probl...
- Fri Apr 23, 2021 3:08 pm
- Forum: Coding Questions
- Topic: Assigning structure address to Interface invalid memory access error
- Replies: 6
- Views: 1068
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: 1068
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 PersonMe...
- Thu Apr 22, 2021 2:04 pm
- Forum: Applications - Feedback and Discussion
- Topic: IceDesign GUI designer
- Replies: 576
- Views: 142191
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 nic...
- Thu Apr 22, 2021 12:18 pm
- Forum: Applications - Feedback and Discussion
- Topic: IceDesign GUI designer
- Replies: 576
- Views: 142191
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 running PureBa...
- 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: 2969
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 becom...